9 lines
363 B
Go
9 lines
363 B
Go
package model
|
|
|
|
// Attachment represents metadata for an attachment in a comment.
|
|
type Attachment struct {
|
|
Describable `bson:",inline" json:",inline"`
|
|
Type string `bson:"type" json:"type"` // Type of attachment (e.g., "image", "file", "rich_text")
|
|
URL string `bson:"url" json:"url"` // URL of the attachment (e.g., an image or file location)
|
|
}
|