12345678910111213141516171819202122 |
- // Code generated by sql2gorm. DO NOT EDIT.
- package entity
- type ReviewProject struct {
- ID int64 `gorm:"column:id;primary_key;AUTO_INCREMENT"` // 自增id
- ProjectID string `gorm:"column:project_id;NOT NULL"` // 种草id
- TaskName string `gorm:"column:task_name;NOT NULL"` // 任务标题
- TaskDetail string `gorm:"column:task_detail;NOT NULL"` // 任务详情
- ProductName string `gorm:"column:product_name;NOT NULL"` // 商品标题
- ProductDetail string `gorm:"column:product_detail;NOT NULL"` // 商品详情(卖点总结)
- MainPhoto string `gorm:"column:main_photo;NOT NULL"` // 商品主图
- Images string `gorm:"column:images"` // 图片集(,分隔)
- Videos string `gorm:"column:videos"` // 视频集(,分隔)
- VideoJobIds string `gorm:"column:video_job_ids"`
- Documents string `gorm:"column:documents"` // 文档集(,分隔)
- DocumentJobIds string `gorm:"column:document_job_ids"`
- Status int64 `gorm:"column:status;default:0;NOT NULL"` // 状态(0未提交 1待审核 2审核通过 3审核未通过 4失效)
- }
- func (m *ReviewProject) TableName() string {
- return "review_project"
- }
|