package registry import ( "time" "gorm.io/gorm" ) // BlobUpload ????? blob ?? type BlobUpload struct { ID uint `gorm:"primarykey" json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` UUID string `gorm:"uniqueIndex;not null" json:"uuid"` // ???? UUID Repository string `gorm:"index;not null" json:"repository"` // ???? Path string `gorm:"not null" json:"path"` // ?????? Size int64 `gorm:"default:0" json:"size"` // ????? }