tasksketchlist.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package http_model
  2. type TasksketchlistRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page"`
  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. SketchType int `json:"sketch_type"`
  22. }
  23. func NewTasksketchlistRequest() *TasksketchlistRequest {
  24. return new(TasksketchlistRequest)
  25. }
  26. func NewTasksketchlistResponse() *CommonResponse {
  27. resp := new(CommonResponse)
  28. resp.Data = new(GetsketchtaskListData)
  29. return resp
  30. }