package models import ( "time" operationPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/operation" ) type FeedDetailVersionLog struct { Id int64 `xorm:"AUTOINCR PK 'id'" json:"id,omitempty"` PastureId int64 `xorm:"pasture_id" json:"pasture_id"` VersionId int64 `xorm:"version_id" json:"version_id"` FeedTemplateId int64 `xorm:"feed_template_id" json:"feed_template_id"` ForageId int64 `xorm:"forage_id" json:"forage_id"` ForageName string `xorm:"forage_name" json:"forage_name"` ForageGroupName string `xorm:"forage_group_name" json:"forage_group_name"` Weight int32 `xorm:"weight" json:"weight"` StirDelay int32 `xorm:"stir_delay" json:"stir_delay"` AllowError int32 `xorm:"allow_error" json:"allow_error"` IsModify operationPb.IsShow_Kind `xorm:"is_modify" json:"is_modify"` IsLockCowCountRatio operationPb.IsShow_Kind `xorm:"is_lock_cow_count_ratio" json:"is_lock_cow_count_ratio"` Sort int32 `xorm:"sort" json:"sort"` Created time.Time `xorm:"created" json:"created"` Updated time.Time `xorm:"updated" json:"updated"` } func (f *FeedDetailVersionLog) TableName() string { return "feed_detail_version_log" }