system_configure.go 1011 B

1234567891011121314151617181920212223242526272829303132
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. const (
  4. ActiveLowest = "active_lowest"
  5. RuminaLowest = "rumina_lowest"
  6. WeeklyActive = "weekly_active"
  7. XRuminaDisc = "x_rumina_disc"
  8. XChangeDiscount = "x_change_discount"
  9. ActiveLow = "active_low"
  10. ActiveMiddle = "active_middle"
  11. ActiveHigh = "active_high"
  12. MaxEstrus = "max_estrus"
  13. MaxHabit = "max_habit"
  14. UpdateOriginalMax = "original_merge_data"
  15. )
  16. type SystemConfigure struct {
  17. Id int64 `json:"id"`
  18. PastureId int64 `json:"pastureId"`
  19. Name string `json:"name"`
  20. Value int64 `json:"value"`
  21. Remarks string `json:"remarks"`
  22. IsShow pasturePb.IsShow_Kind `json:"is_show"`
  23. CreatedAt int64 `json:"createdAt"`
  24. UpdatedAt int64 `json:"updatedAt"`
  25. }
  26. func (s *SystemConfigure) TableName() string {
  27. return "system_configure"
  28. }