Files
RenewCMS/internal/infrastructure/persistence/models/imageVariantModel.go
T
2026-10-08 02:33:32 +02:00

17 lines
422 B
Go

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
}