Files
yatm/internal/executor/scan/config.go
T
Samuel Cui 4fef653b71 Prepare YATM v1.0.0-alpha.2
Unify file queries and Scan execution, retain indexed Identical results,
improve Job and Preview workflows, and verify release packaging.
2026-10-05 19:08:49 +08:00

17 lines
550 B
Go

package scan
import "github.com/samuelncui/yatm/entity"
type Config struct {
ID int64 `gorm:"primaryKey;autoIncrement:false;check:id = 1"`
Spec *entity.ScanJobSpec `gorm:"type:blob;not null"`
PreviewJobSettings *entity.PreviewJobSettings `gorm:"type:blob"`
MediaKind entity.MediaKind
MediaIdentity string
MediaProfile *entity.MediaProfile `gorm:"type:blob"`
IndexedInput bool
BaselineFrozen bool
}
func (Config) TableName() string { return "config" }