package booking import ( "time" "gorm.io/gorm" ) type GeneratedFile struct { Name string ContentType string Data []byte } type StoredInvoiceFile struct { ObjectKey string ShareURL string ShareURLExpiresAt time.Time } type InvoiceDocument struct { gorm.Model BookingID int `gorm:"not null;uniqueIndex"` ID int ObjectKey string `gorm:"not null"` FileName string `gorm:"not null"` ContentType string `gorm:"not null"` ShareURL string `gorm:"type:text;not null"` ShareURLExpiresAt time.Time `gorm:"not null"` }