link_info.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. import (
  4. "time"
  5. )
  6. // 种草任务链接信息
  7. type LinkInfo struct {
  8. LinkID int64 `gorm:"column:link_id;primary_key;AUTO_INCREMENT"` // 链接id
  9. TaskID string `gorm:"column:task_id;NOT NULL"` // 任务id
  10. LinkUrl string `gorm:"column:link_url;NOT NULL"` // 上传链接url
  11. PhotoUrl string `gorm:"column:photo_url;NOT NULL"` // 上传截图url
  12. ReviseOpinion string `gorm:"column:revise_opinion"` // 审核意见
  13. IsSubmit int64 `gorm:"column:is_submit;NOT NULL"` // 是否提交
  14. IsReview int64 `gorm:"column:is_review;default:0;NOT NULL"` // 是否审核
  15. IsOk int64 `gorm:"column:is_ok;NOT NULL"` // 是否合格
  16. CreateAt time.Time `gorm:"column:create_at"` // 创建时间
  17. SubmitAt time.Time `gorm:"column:submit_at"` // 提交时间
  18. AgreeAt time.Time `gorm:"column:agree_at"` // 同意时间
  19. RejectAt time.Time `gorm:"column:reject_at"` // 驳回时间
  20. AutoAgreeAt time.Time `gorm:"column:auto_agree_at"` // 发布审核自动处理时间
  21. AutoDataBreakAt time.Time `gorm:"column:auto_data_break_at"` // 结案违约自动处理时间
  22. AutoLinkBreakAt time.Time `gorm:"column:auto_link_break_at"` // 链接违约自动处理时间
  23. BOperator string `gorm:"column:b_operator;NOT NULL"` // 操作人id
  24. BOperatorType int64 `gorm:"column:b_operator_type;default:0"` // 商家操作人类型,1商家用户,2商家子账号,3管理后台
  25. //LinkType int64 `gorm:"column:link_type;default:0;NOT NULL"` // 1、2分别表示种草和本地生活
  26. PlatformID int64 `gorm:"column:platform_id;NOT NULL"` // 平台id
  27. TalentID string `gorm:"column:talent_id;NOT NULL"` // 达人id
  28. LinkMissingStatus int64 `gorm:"column:link_missing_status"` // 未发作品违约状态,0无违约,1有违约
  29. TaskType int64 `gorm:"column:task_type;NOT NULL"` // 任务类型(1种草 2本地生活)
  30. }
  31. func (m *LinkInfo) TableName() string {
  32. return "younggee_link_info"
  33. }