123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package youngee_talent_model
- import (
- "github.com/gogf/gf/os/gtime"
- "github.com/gogf/gf/util/gmeta"
- )
- type AddTaskSketchRequest struct {
- TaskId string `orm:"task_id" json:"task_id"` // 任务id
- Title string `orm:"title" json:"title"` // 标题
- Type int `orm:"type" json:"type"` // 初稿形式,1为图片,2为视频
- Content string `orm:"content" json:"content"` // 正文
- PhotoUrl string `orm:"photo_url" json:"photo_url"` // 视频或图文的url列表
- }
- type TaskSketchInfo struct {
- gmeta.Meta `orm:"table:younggee_sketch_info"`
- SketchId int `orm:"sketch_id,primary" json:"sketch_id"` // 初稿id
- TaskId string `orm:"task_id" json:"task_id"` // 任务id
- Title string `orm:"title" json:"title"` // 标题
- Type int `orm:"type" json:"type"` // 初稿形式,1为图片,2为视频
- Content string `orm:"content" json:"content"` // 正文
- ReviseOpinion string `orm:"revise_opinion" json:"revise_opinion"` // 反馈意见
- IsSubmit int `orm:"is_submit" json:"is_submit"` // 是否提交
- IsReview int `orm:"is_review" json:"is_review"` // 是否审核
- IsOk int `orm:"is_ok" json:"is_ok"` // 是否合格
- CreateAt *gtime.Time `orm:"create_at" json:"create_at"` // 创建时间
- AgreeAt *gtime.Time `orm:"agree_at" json:"agree_at"` // 同意时间
- RejectAt *gtime.Time `orm:"reject_at" json:"reject_at"` // 驳回时间
- SubmitAt *gtime.Time `orm:"submit_at" json:"submit_at"` // 提交时间
- AutoAgreeAt *gtime.Time `orm:"auto_agree_at" json:"auto_agree_at"` // 初稿自动审核时间
- AutoLinkBreakAt *gtime.Time `orm:"auto_link_break_at" json:"auto_link_break_at"` // 链接违约自动处理时间
- AutoSketchBreakAt *gtime.Time `orm:"auto_sketch_break_at" json:"auto_sketch_break_at"` // 初稿违约自动处理时间
- Photo []*YounggeeSketchPhoto `orm:"with:sketch_id=sketch_id"`
- }
- type YounggeeSketchPhoto struct {
- gmeta.Meta `orm:"table:younggee_sketch_photo"`
- Id int `orm:"id,primary" json:"id"` // 脚本id
- SketchId int `orm:"sketch_id" json:"sketch_id"` //
- PhotoUrl string `orm:"photo_url" json:"photo_url"` //
- PhotoUid string `orm:"photo_uid" json:"photo_uid"` //
- Symbol int `orm:"symbol" json:"symbol"` // 1是图片,2是视频
- CreateAt *gtime.Time `orm:"create_at" json:"create_at"` //
- }
|