Files
sendico/api/pkg/model/attachment.go
Stephan D 62a6631b9a
All checks were successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
service backend
2025-11-07 18:35:26 +01:00

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)
}