package models import "clapclap/internal/uuid" type Upload struct { Base UserID uuid.UUID `gorm:"type:uuid;index;not null" json:"user_id"` ObjectKey string `gorm:"uniqueIndex" json:"object_key"` Checked bool `gorm:"default:false" json:"checked"` // false initially Valid bool `gorm:"default:false" json:"valid"` // false initially }