123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package http_model
- import (
- "time"
- "youngee_b_api/model/gorm_model"
- )
- type SpecialTaskScriptListRequest struct {
- PageSize int64 `json:"page_size"`
- PageNum int64 `json:"page_num"`
- ProjectId string `json:"project_id"` // 项目ID
- TaskId string `json:"task_id"` // 任务ID
- ScriptStatus string `json:"script_status"` // 稿件状态
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- }
- type SpecialTaskScriptPreview struct {
- TaskID string `json:"task_id"` // 任务ID
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- FansCount string `json:"fans_count"` // 粉丝数
- Phone string `json:"phone"` // 联系方式
- Submit string `json:"script_upload_time"` //创建时间
- Title string `json:"title"` //脚本标题
- AgreeAt string `json:"agree_at"` //同意时间
- Content string `json:"content"` //脚本内容
- ReviseOpinion string `json:"revise_opinion"` //审稿意见
- }
- type SpecialTaskScriptInfo struct {
- TaskID string `json:"task_id"` // 任务ID
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- FansCount string `json:"fans_count"` // 粉丝数
- ScriptId int `json:"script_id"` //脚本ID
- Title string `json:"title"` //脚本标题
- Content string `json:"content"` //脚本内容
- ReviseOpinion string `json:"revise_opinion"` //审稿意见
- Phone string `json:"phone"` // 联系方式
- CreateAt time.Time `json:"create_at"` //创建时间
- SubmitAt time.Time `json:"submit_at"` // 提交时间
- AgreeAt time.Time `json:"agree_at"` //同意时间
- RejectAt time.Time `json:"reject_at"` //拒绝时间
- IsReview int `json:"is_review"` //是否审核
- }
- type SpecialTaskScript struct {
- Talent gorm_model.YoungeeTaskInfo
- Script gorm_model.YounggeeScriptInfo
- }
- type SpecialTaskScriptListData struct {
- SpecialTaskScriptPreview []*SpecialTaskScriptPreview `json:"project_task_pre_view"`
- Total string `json:"total"`
- }
- func NewSpecialTaskScriptListRequest() *SpecialTaskScriptListRequest {
- return new(SpecialTaskScriptListRequest)
- }
- func NewSpecialTaskScriptListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(SpecialTaskScriptListData)
- return resp
- }
|