GetTakegoodsDataRequest.go 996 B

12345678910111213141516171819202122232425262728
  1. package http_model
  2. type GetTakegoodsDataRequest struct {
  3. EnterpriseId string `json:"enterprise_id"`
  4. DateRange string `json:"days"`
  5. }
  6. type TakegoodsData struct {
  7. Pay float64 `json:"pay"`
  8. PayList []float64 `json:"pay_list"`
  9. Finish float64 `json:"finish"`
  10. FinishList []float64 `json:"finish_list"`
  11. Commission float64 `json:"commission"`
  12. CommissionList []float64 `json:"commission_list"`
  13. Order int64 `json:"order"`
  14. OrderList []int64 `json:"order_list"`
  15. Person int64 `json:"person"`
  16. PersonList []int64 `json:"person_list"`
  17. CommissionRate float64 `json:"commissionRate"`
  18. CommissionRateList []float64 `json:"commissionRate_list"`
  19. }
  20. func NewGetTakegoodsDataRequest() *GetTakegoodsDataRequest { return new(GetTakegoodsDataRequest) }
  21. func NewGetTakegoodsDataReponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(TakegoodsData)
  24. return resp
  25. }