SpecialTaskSketchList.go 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package http_model
  2. import (
  3. "time"
  4. "youngee_b_api/model/gorm_model"
  5. )
  6. type SpecialTaskSketchListRequest struct {
  7. PageSize int64 `json:"page_size"`
  8. PageNum int64 `json:"page_num"`
  9. ProjectId string `json:"project_id"` // 项目ID
  10. TaskId string `json:"task_id"` // 任务ID
  11. SketchStatus string `json:"sketch_status"` // 稿件状态
  12. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  13. }
  14. type SpecialTaskSketchPreview struct {
  15. TaskID string `json:"task_id"` // 任务ID
  16. SketchID string `json:"sketch_id"` // 初稿ID
  17. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  18. FansCount string `json:"fans_count"` // 粉丝数
  19. Submit string `json:"sketch_upload_time"` // 创建时间
  20. AgreeAt string `json:"argee_at"` // 同意时间
  21. Title string `json:"title"` // 初稿标题
  22. Content string `json:"content"` // 初稿内容
  23. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  24. }
  25. type SpecialTaskSketchInfo struct {
  26. TaskID string `json:"task_id"` // 任务ID
  27. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  28. FansCount string `json:"fans_count"` // 粉丝数
  29. SketchId int `json:"sketch_id"` //初稿ID
  30. Title string `json:"title"` //初稿标题
  31. Content string `json:"content"` //初稿内容
  32. ReviseOpinion string `json:"revise_opinion"` //审稿意见
  33. CreateAt time.Time `json:"create_at"` //创建时间
  34. SubmitAt time.Time `json:"submit_at"` // 提交时间
  35. AgreeAt time.Time `json:"agree_at"` //同意时间
  36. RejectAt time.Time `json:"reject_at"` //拒绝时间
  37. IsReview int `json:"is_review"` //是否审核
  38. }
  39. type SpecialTaskSketch struct {
  40. Talent gorm_model.YoungeeTaskInfo
  41. Sketch gorm_model.YounggeeSketchInfo
  42. }
  43. type SpecialTaskSketchListData struct {
  44. SpecialTaskSketchPreview []*SpecialTaskSketchPreview `json:"project_task_pre_view"`
  45. Total string `json:"total"`
  46. }
  47. func NewSpecialTaskSketchListRequest() *SpecialTaskSketchListRequest {
  48. return new(SpecialTaskSketchListRequest)
  49. }
  50. func NewSpecialTaskSketchListResponse() *CommonResponse {
  51. resp := new(CommonResponse)
  52. resp.Data = new(SpecialTaskSketchListData)
  53. return resp
  54. }