12345678910111213141516171819202122232425 |
- package http
- type DieselReq struct {
- PastureId int64 `json:"pastureId"`
- SelTime string `json:"selTime"`
- OilClass string `json:"oilClass"`
- OilAmount string `json:"oilAmount"`
- EqId int64 `json:"eqId"`
- EqCode string `json:"eqCode"`
- DepartmentId int64 `json:"departmentId"`
- Note string `json:"note"`
- NowPrice float64 `json:"nowPrice"`
- OilcardId int64 `json:"oilcardId"`
- CardNumber string `json:"cardNumber"`
- Price string `json:"price"`
- EmpId string `json:"empId"`
- InputId int64 `json:"inputId"`
- OilType int64 `json:"oilType"`
- OilName string `json:"oilName"`
- Id int64 `json:"id"`
- }
- func (d DieselReq) Validate() bool {
- return true
- }
|