12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- package v1
- type GetReceiverReq struct {
- Index int64 `json:"index"`
- PageSize int64 `json:"pagesize"`
- Code string `json:"code"`
- Status int64 `json:"status"`
- }
- type Receiver struct {
- ReceiverId int64 `json:"receiverid"`
- Code string `json:"code"`
- Pastureid string `json:"pastureid"`
- BarId string `json:"barid"`
- BarName string `json:"barname"`
- SimId int64 `json:"simid"`
- Status int64 `json:"status"`
- Location string `json:"location"`
- UpdateDate string `json:"updatedate"`
- Card string `json:"card"`
- PastureName string `json:"pasturename"`
- PastureCode string `json:"pasturecode"`
- Id int64 `json:"id"`
- Image string `json:"image"`
- Style *Style `json:"style"`
- }
- type GetReceiverRes struct {
- List []*Receiver `json:"list"`
- Total int64 `json:"total"`
- }
- type AddReceiverReq struct {
- Code string `json:"code"`
- Pastureid string `json:"pastureid"`
- BarId string `json:"barId"`
-
- SimId int64 `json:"simid"`
- Status int64 `json:"status"`
- Location string `json:"location"`
-
- Card string `json:"card"`
- PastureName string `json:"pasturename"`
- }
- type EditReceiverReq struct {
- Id int64 `json:"id"`
- Code string `json:"code"`
- Pastureid string `json:"pastureid"`
- BarId string `json:"barid"`
-
- SimId int64 `json:"simId"`
- Status int64 `json:"status"`
- Location string `json:"location"`
- Card string `json:"card"`
- PastureName string `json:"pasturename"`
- }
- type ReceiverPull struct {
- Id int64 `json:"id"`
- Code string `json:"code"`
- }
- type GetReceiverPullRes struct {
- List []*ReceiverPull `json:"list"`
-
- }
- type Style struct {
- Left string `json:"left"`
- Top string `json:"top"`
- }
- type CoordinatesInfo struct {
- ID int64 `json:"id"`
- Pastureid string `json:"pastureid"`
- BarId string `json:"barid"`
- Style *Style `json:"style"`
- Status int64 `json:"enable"`
- Left string `json:"left"`
- Top string `json:"top"`
- }
- type GetReceiverInfoRes struct {
- List []*CoordinatesInfo `json:"list"`
- }
- type EditReceiverCoordinatesReq struct {
- List []*CoordinatesInfo `json:"list"`
- }
|