predatalist.go 928 B

1234567891011121314151617181920212223242526272829303132
  1. package http_model
  2. type PreDataListRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page_num"`
  5. ProjectId string `json:"project_id"` // 项目ID
  6. DataStatus string `json:"data_status"` // 数据状态,13待传数据
  7. EnterpriseId string `json:"enterprise_id"`
  8. SortField []string `json:"sort_field,omitempty"`
  9. SortOrder []string `json:"sort_order,omitempty"`
  10. Others string `json:"others,omitempty"`
  11. }
  12. type GetPreDataListData struct {
  13. TaskdataList []*Taskdatainfo `json:"task_list"`
  14. Total string `json:"total"`
  15. }
  16. type Taskdatainfo struct {
  17. Task *TaskInfo `json:"task_info"`
  18. DDl string `json:"ddl"` // 截止时间
  19. }
  20. func NewPreDataListRequest() *PreDataListRequest {
  21. return new(PreDataListRequest)
  22. }
  23. func NewPreDataListResponse() *CommonResponse {
  24. resp := new(CommonResponse)
  25. resp.Data = new(GetPreDataListData)
  26. return resp
  27. }