milk_hall_list.go 635 B

12345678910111213141516171819
  1. package model
  2. import pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  3. type MilkHallList struct {
  4. Id int64 `json:"id"`
  5. PastureId int64 `json:"pasture_id"`
  6. Name string `json:"name"`
  7. Brand string `json:"brand"`
  8. Kind string `json:"kind"`
  9. Field int32 `json:"field"`
  10. IsShow pasturePb.IsShow_Kind `json:"is_show"`
  11. CreatedAt int64 `json:"created_at"`
  12. UpdatedAt int64 `json:"updated_at"`
  13. }
  14. func (m *MilkHallList) TableName() string {
  15. return "milk_hall_list"
  16. }