neck_ring_configure.go 943 B

12345678910111213141516171819202122232425262728293031
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. const (
  4. High = "high"
  5. Rumina = "rumina"
  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. MaxHabit = "max_habit"
  13. HealthWarning = "health_warning"
  14. )
  15. type NeckRingConfigure struct {
  16. Id int64 `json:"id"`
  17. PastureId int64 `json:"pastureId"`
  18. Name string `json:"name"`
  19. Value int64 `json:"value"`
  20. Remarks string `json:"remarks"`
  21. IsShow pasturePb.IsShow_Kind `json:"is_show"`
  22. CreatedAt int64 `json:"createdAt"`
  23. UpdatedAt int64 `json:"updatedAt"`
  24. }
  25. func (s *NeckRingConfigure) TableName() string {
  26. return "neck_ring_configure"
  27. }