tasksketchlist.go 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. package http_model
  2. type TasksketchlistRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page_num"`
  5. ProjectId string `json:"project_id"` // 项目ID
  6. ScriptStatus int `json:"script_status"` // 稿件状态
  7. SortField []string `json:"sort_field,omitempty"`
  8. SortOrder []string `json:"sort_order,omitempty"`
  9. Others string `json:"others,omitempty"`
  10. }
  11. type GetsketchtaskListData struct {
  12. TasksketchList []*Tasksketchinfo `json:"task_list"`
  13. Total string `json:"total"`
  14. }
  15. type Tasksketchinfo struct {
  16. Task *TaskInfo `json:"task_info"`
  17. SubmitAt string `json:"submit_at"` // 提交时间
  18. AgreeAt string `json:"agree_at"`
  19. Operator string `json:"operator"`
  20. SketchId int `json:"sketch_id"` //初稿ID
  21. }
  22. func NewTasksketchlistRequest() *TasksketchlistRequest {
  23. return new(TasksketchlistRequest)
  24. }
  25. func NewTasksketchlistResponse() *CommonResponse {
  26. resp := new(CommonResponse)
  27. resp.Data = new(GetsketchtaskListData)
  28. return resp
  29. }