package models import ( "time" "gorm.io/gorm" ) type MusicSheet struct { ID uint `json:"id" gorm:"primaryKey"` Title string `json:"title" gorm:"not null"` Composer string `json:"composer"` Description string `json:"description"` FilePath string `json:"file_path" gorm:"not null"` FileSize int64 `json:"file_size"` UserID uint `json:"user_id"` User User `json:"user" gorm:"foreignKey:UserID"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index"` }