mirror of
https://github.com/samuelncui/yatm.git
synced 2026-11-08 12:26:33 +00:00
Unify file queries and Scan execution, retain indexed Identical results, improve Job and Preview workflows, and verify release packaging.
17 lines
550 B
Go
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" }
|