SpecialTaskSketchList.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. Phone string `json:"phone"` // 联系方式
  20. Submit string `json:"sketch_upload_time"` // 创建时间
  21. AgreeAt string `json:"argee_at"` // 同意时间
  22. Title string `json:"title"` // 初稿标题
  23. Content string `json:"content"` // 初稿内容
  24. ReviseOpinion string `json:"revise_opinion"` // 审稿意见
  25. }
  26. type SpecialTaskSketchInfo struct {
  27. TaskID string `json:"task_id"` // 任务ID
  28. PlatformNickname string `json:"platform_nickname"` // 账号昵称
  29. FansCount string `json:"fans_count"` // 粉丝数
  30. SketchId int `json:"sketch_id"` //初稿ID
  31. Title string `json:"title"` //初稿标题
  32. Content string `json:"content"` //初稿内容
  33. ReviseOpinion string `json:"revise_opinion"` //审稿意见
  34. Phone string `json:"phone"` // 联系方式
  35. CreateAt time.Time `json:"create_at"` //创建时间
  36. SubmitAt time.Time `json:"submit_at"` // 提交时间
  37. AgreeAt time.Time `json:"agree_at"` //同意时间
  38. RejectAt time.Time `json:"reject_at"` //拒绝时间
  39. IsReview int `json:"is_review"` //是否审核
  40. }
  41. type SpecialTaskSketch struct {
  42. Talent gorm_model.YoungeeTaskInfo
  43. Sketch gorm_model.YounggeeSketchInfo
  44. }
  45. type SpecialTaskSketchListData struct {
  46. SpecialTaskSketchPreview []*SpecialTaskSketchPreview `json:"project_task_pre_view"`
  47. Total string `json:"total"`
  48. }
  49. func NewSpecialTaskSketchListRequest() *SpecialTaskSketchListRequest {
  50. return new(SpecialTaskSketchListRequest)
  51. }
  52. func NewSpecialTaskSketchListResponse() *CommonResponse {
  53. resp := new(CommonResponse)
  54. resp.Data = new(SpecialTaskSketchListData)
  55. return resp
  56. }