package models import "time" type ImageVariant struct { Name string `gorm:"primaryKey;size:32"` Width *int Height *int Fit string `gorm:"not null;size:16"` Format string `gorm:"not null;size:16"` Quality *int GenerateOnUpload bool `gorm:"not null"` Enabled bool `gorm:"not null"` CreatedAt time.Time UpdatedAt time.Time }