sketch_info.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. import (
  4. "time"
  5. )
  6. // 种草任务初稿信息
  7. type SketchInfo struct {
  8. SketchID int64 `gorm:"column:sketch_id;primary_key;AUTO_INCREMENT"` // 初稿id
  9. TaskID string `gorm:"column:task_id;NOT NULL"` // 任务id
  10. Title string `gorm:"column:title"` // 标题
  11. Type int64 `gorm:"column:type"` // 初稿形式,1为图片,2为视频
  12. Content string `gorm:"column:content"` // 正文
  13. ReviseOpinion string `gorm:"column:revise_opinion"` // 反馈意见
  14. IsSubmit int64 `gorm:"column:is_submit;NOT NULL"` // 是否提交
  15. IsReview int64 `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核
  16. IsOk int64 `gorm:"column:is_ok;NOT NULL"` // 是否合格(0,不合格,1合格
  17. CreateAt time.Time `gorm:"column:create_at;NOT NULL"` // 创建时间
  18. AgreeAt time.Time `gorm:"column:agree_at"` // 同意时间
  19. RejectAt time.Time `gorm:"column:reject_at"` // 驳回时间
  20. SubmitAt time.Time `gorm:"column:submit_at"` // 提交时间
  21. AutoAgreeAt time.Time `gorm:"column:auto_agree_at"` // 初稿自动审核时间
  22. AutoLinkBreakAt time.Time `gorm:"column:auto_link_break_at"` // 链接违约自动处理时间
  23. AutoSketchBreakAt time.Time `gorm:"column:auto_sketch_break_at"` // 初稿违约自动处理时间
  24. BOperator string `gorm:"column:b_operator"` // 商家确定达人操作人ID
  25. BOperatorType int64 `gorm:"column:b_operator_type;default:0"` // 商家操作人类型,1商家用户,2商家子账号,3管理后台
  26. TalentID string `gorm:"column:talent_id;NOT NULL"`
  27. SketchMissingStatus int64 `gorm:"column:sketch_missing_status"` // 未传初稿违约状态,0无违约,1有违约
  28. TaskType int64 `gorm:"column:task_type;NOT NULL"` // 任务类型(1种草 2本地生活)
  29. }
  30. func (m *SketchInfo) TableName() string {
  31. return "younggee_sketch_info"
  32. }