feed_detail_version_log.go 1.3 KB

123456789101112131415161718192021222324252627
  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:"id" json:"id,omitempty"`
  8. FeedTemplateId int64 `xorm:"feed_template_id" json:"feed_template_id"`
  9. ForageId int64 `xorm:"forage_id" json:"forage_id"`
  10. ForageName string `xorm:"forage_name" json:"forage_name"`
  11. ForageGroupName string `xorm:"forage_group_name" json:"forage_group_name"`
  12. Weight int32 `xorm:"weight" json:"weight"`
  13. StirDelay int32 `xorm:"stir_delay" json:"stir_delay"`
  14. AllowError int32 `xorm:"allow_error" json:"allow_error"`
  15. IsModify operationPb.IsShow_Kind `xorm:"is_modify" json:"is_modify"`
  16. IsLockCowCountRatio operationPb.IsShow_Kind `xorm:"is_lock_cow_count_ratio" json:"is_lock_cow_count_ratio"`
  17. Sort int32 `xorm:"sort" json:"sort"`
  18. Created time.Time `xorm:"created" json:"created"`
  19. Updated time.Time `xorm:"updated" json:"updated"`
  20. }
  21. func (f *FeedDetailVersionLog) TableName() string {
  22. return "feed_detail_version_log"
  23. }