tasksketchlist.go 892 B

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