package v1 type GetBarListReq struct { Index int64 `json:"index"` PageSize int64 `json:"pagesize"` Pastureid string `json:"pastureid"` BarName string `json:"barname"` } type BarList struct { Id string `json:"id" ` Pastureid string `json:"pastureid"` Bname string `json:"bname"` //栏舍名称 Bcode string `json:"bcode"` //栏舍编码 } type GetBarListRes struct { List []*BarList `json:"list"` Total int64 `json:"total"` } type GetPastureListReq struct { Index int64 `json:"index"` PageSize int64 `json:"pagesize"` } type PastureList struct { PastureCode string `json:"pasturecode"` Pastureid string `json:"pastureid"` PastureName string `json:"pasturename"` } type GetPastureListRes struct { List []*PastureList `json:"list"` Total int64 `json:"total"` }