package models import ( "time" "github.com/google/uuid" "gorm.io/gorm" ) type File struct { ID uuid.UUID `gorm:"primarykey" json:"id"` Filename string ContentType string Size int Body []byte `gorm:"type:bytea"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` }