feed_detail_version_log.go 1.5 KB

1234567891011121314151617181920212223242526272829
  1. package models
  2. import (
  3. "time"
  4. operationPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/operation"
  5. )
  6. type FeedDetailVersionLog struct {
  7. Id int64 `xorm:"AUTOINCR PK 'id'" json:"id,omitempty"`
  8. PastureId int64 `xorm:"pasture_id" json:"pasture_id"`
  9. VersionId int64 `xorm:"version_id" json:"version_id"`
  10. FeedTemplateId int64 `xorm:"feed_template_id" json:"feed_template_id"`
  11. ForageId int64 `xorm:"forage_id" json:"forage_id"`
  12. ForageName string `xorm:"forage_name" json:"forage_name"`
  13. ForageGroupName string `xorm:"forage_group_name" json:"forage_group_name"`
  14. Weight int32 `xorm:"weight" json:"weight"`
  15. StirDelay int32 `xorm:"stir_delay" json:"stir_delay"`
  16. AllowError int32 `xorm:"allow_error" json:"allow_error"`
  17. IsModify operationPb.IsShow_Kind `xorm:"is_modify" json:"is_modify"`
  18. IsLockCowCountRatio operationPb.IsShow_Kind `xorm:"is_lock_cow_count_ratio" json:"is_lock_cow_count_ratio"`
  19. Sort int32 `xorm:"sort" json:"sort"`
  20. Created time.Time `xorm:"created" json:"created"`
  21. Updated time.Time `xorm:"updated" json:"updated"`
  22. }
  23. func (f *FeedDetailVersionLog) TableName() string {
  24. return "feed_detail_version_log"
  25. }