localpredatalist.go 988 B

1234567891011121314151617181920212223242526272829303132
  1. package http_model
  2. type LocalPreDataListRequest 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 GetLocalPreDataListData struct {
  13. TaskdataList []*LocalTaskdatainfo `json:"task_list"`
  14. Total string `json:"total"`
  15. }
  16. type LocalTaskdatainfo struct {
  17. Task *LocaLTaskInfo `json:"task_info"`
  18. DDl string `json:"ddl"` // 截止时间
  19. }
  20. func NewLocalPreDataListRequest() *LocalPreDataListRequest {
  21. return new(LocalPreDataListRequest)
  22. }
  23. func NewLocalPreDataListResponse() *CommonResponse {
  24. resp := new(CommonResponse)
  25. resp.Data = new(GetLocalPreDataListData)
  26. return resp
  27. }