service backend
This commit is contained in:
8
api/pkg/model/attachment.go
Normal file
8
api/pkg/model/attachment.go
Normal file
@@ -0,0 +1,8 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user