review_local_life.go 1.6 KB

12345678910111213141516171819202122232425
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. type ReviewLocalLife struct {
  4. ID int64 `gorm:"column:id;primary_key;AUTO_INCREMENT"` // 自增id
  5. LocalID string `gorm:"column:local_id;NOT NULL"` // 本地生活id
  6. TaskName string `gorm:"column:task_name;NOT NULL"` // 任务标题
  7. TaskDetail string `gorm:"column:task_detail;NOT NULL"` // 任务详情
  8. StoreMainPhoto string `gorm:"column:store_main_photo;NOT NULL"` // 门店主图
  9. StoreName string `gorm:"column:store_name;NOT NULL"` // 门店标题
  10. StoreDetail string `gorm:"column:store_detail;NOT NULL"` // 门店详情
  11. TeamBuyingMainPhoto string `gorm:"column:team_buying_main_photo;NOT NULL"` // 团购主图
  12. TeamBuyingName string `gorm:"column:team_buying_name;NOT NULL"` // 团购标题
  13. TeamBuyingDetail string `gorm:"column:team_buying_detail;NOT NULL"` // 团购详情
  14. Images string `gorm:"column:images"` // 图片集(,分隔)
  15. Videos string `gorm:"column:videos"` // 视频集(,分隔)
  16. VideoJobIds string `gorm:"column:video_job_ids"`
  17. Documents string `gorm:"column:documents"` // 文档集(,分隔)
  18. DocumentJobIds string `gorm:"column:document_job_ids"`
  19. Status int64 `gorm:"column:status;default:0;NOT NULL"` // 状态(0未提交 1待审核 2审核通过 3审核未通过 4失效)
  20. }
  21. func (m *ReviewLocalLife) TableName() string {
  22. return "review_local_life"
  23. }