feed_template_detail.go 1.0 KB

123456789101112131415161718192021222324
  1. package models
  2. type FeedTemplateDetail struct {
  3. Id int64 `xorm:"id" json:"id"`
  4. PastureId int64 `xorm:"pastureid" json:"pasture_id"`
  5. FtId int64 `xorm:"ftid" json:"ft_id"`
  6. FId int64 `xorm:"fid" json:"f_id"`
  7. FdName string `xorm:"fdname" json:"fd_name"`
  8. LWeight float64 `xorm:"lweight" json:"l_weight"`
  9. FWeight float64 `xorm:"fweight" json:"f_weight"`
  10. IsLockCount int32 `xorm:"islockcount" json:"is_lock_count"`
  11. IsFg int32 `xorm:"isfg" json:"is_fg"`
  12. Sort int32 `xorm:"sort" json:"sort"`
  13. FeedGroup string `xorm:"feedgroup" json:"feed_group"`
  14. PreFtId int64 `xorm:"preftid" json:"pre_ft_id"`
  15. AutoSecond int32 `xorm:"autosecond" json:"auto_second"`
  16. AutoSecondName string `xorm:"autosecondname" json:"auto_second_name"`
  17. SplitFtPreId int64 `xorm:"splitftpreid" json:"split_ft_pre_id"`
  18. Deviation int32 `xorm:"deviation" json:"deviation"`
  19. }
  20. func (f *FeedTemplateDetail) TableName() string {
  21. return "ftdetail"
  22. }