review_selection.go 1.2 KB

123456789101112131415161718192021
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. type ReviewSelection struct {
  4. ID int64 `gorm:"column:id;primary_key;AUTO_INCREMENT"` // 自增id
  5. SelectionID string `gorm:"column:selection_id;NOT NULL"` // 带货id
  6. TaskName string `gorm:"column:task_name;NOT NULL"` // 任务标题
  7. ProductName string `gorm:"column:product_name;NOT NULL"` // 商品标题
  8. ProductDetail string `gorm:"column:product_detail;NOT NULL"` // 商品详情(卖点总结)
  9. MainPhoto string `gorm:"column:main_photo;NOT NULL"` // 商品主图
  10. Images string `gorm:"column:images"` // 图片集(,分隔)
  11. Videos string `gorm:"column:videos"` // 视频集(,分隔)
  12. VideoJobIds string `gorm:"column:video_job_ids"`
  13. Documents string `gorm:"column:documents"` // 文档集(,分隔)
  14. DocumentJobIds string `gorm:"column:document_job_ids"`
  15. Status int64 `gorm:"column:status;default:0;NOT NULL"` // 状态(0未提交 1待审核 2审核通过 3审核未通过 4失效)
  16. }
  17. func (m *ReviewSelection) TableName() string {
  18. return "review_selection"
  19. }