neck_ring_error.go 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. type NeckRingError struct {
  4. Id int64 `json:"id"`
  5. Uuid string `json:"uuid"`
  6. FrameId int32 `json:"frameId"`
  7. Low int32 `json:"low"`
  8. High int32 `json:"high"`
  9. Rumina int32 `json:"rumina"`
  10. Active int32 `json:"active"`
  11. Intake int32 `json:"intake"`
  12. Inactive int32 `json:"inactive"`
  13. Other int32 `json:"other"`
  14. Voltage int32 `json:"voltage"`
  15. Upper int32 `json:"upper"`
  16. Version int32 `json:"version"`
  17. Sign int32 `json:"sign"`
  18. Remain int32 `json:"remain"`
  19. Feed int32 `json:"feed"`
  20. Imei string `json:"imei" `
  21. Temp int32 `json:"temp"`
  22. Gasp int32 `json:"gasp"`
  23. ActiveDateTime string `json:"activeDateTime"`
  24. IsShow pasturePb.IsShow_Kind `json:"isShow"`
  25. ReceiveNumber string `json:"receiveNumber"`
  26. CreatedAt int64 `json:"createdAt"`
  27. UpdatedAt int64 `json:"updatedAt"`
  28. }
  29. func (s *NeckRingError) TableName() string {
  30. return "neck_ring_error"
  31. }