FeeConsumptionQueryRequest.go 1.5 KB

123456789101112131415161718192021222324252627282930
  1. package fee_request
  2. import (
  3. "encoding/json"
  4. "git.sxidc.com/student-physical-examination/contract_lock_sdk/http"
  5. "git.sxidc.com/student-physical-examination/contract_lock_sdk/model/common"
  6. )
  7. type FeeConsumptionQueryRequest struct {
  8. Company *common.FeeConsumptionQueryCompanyRequest `json:"company,omitempty"`
  9. // <ext>core:true</ext> 【开始日期】开始日期 【作用】 用于筛选开始日期之后发生的用量 【传参】 日期格式:yyyy-MM-dd HH:mm:ss。
  10. CreateTime string `json:"createTime,omitempty"`
  11. // <ext>core:true</ext> 【结束日期】结束日期 【作用】 用于筛选开始日期之后发生的用量 【传参】 日期格式:yyyy-MM-dd HH:mm:ss。
  12. EndTime string `json:"endTime,omitempty"`
  13. // <ext>core:true</ext> 【每页数量】每页数量 【作用】 将查询出的数据进行分页处理,设置分页时每页的数据量 【传参】 单位:条。
  14. PageSize *float64 `json:"pageSize,omitempty"`
  15. // <ext>core:true</ext> 【查询指定页码】查询指定页码 【作用】 查询数据分页处理后,查询指定页码的数据 【传参】 单位:页。
  16. PageNo *float64 `json:"pageNo,omitempty"`
  17. }
  18. func (obj FeeConsumptionQueryRequest) GetUrl() string {
  19. return "/fee/consumption/query"
  20. }
  21. func (obj FeeConsumptionQueryRequest) GetHttpParameter() *http.HttpParameter {
  22. parameter := http.NewPostHttpParameter()
  23. jsonBytes, _ := json.Marshal(obj)
  24. parameter.SetJsonParamer(string(jsonBytes))
  25. return parameter
  26. }