project.go 1.6 KB

12345678910111213141516171819202122232425262728
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type ProjectInfo struct {
  7. ProjectID int `gorm:"column:project_id"` // 项目id
  8. ProjectName string `gorm:"column:project_name"` // 项目名称
  9. ProjectStatus int `gorm:"column:project_status"` // 项目状态,1-7分别代表创建中、待审核、招募中、待支付、失效、执行中、已结案
  10. ProjectType int `gorm:"column:project_type"` // 项目类型,1代表全流程项目,2代表专项项目
  11. ProjectPlatform int `gorm:"column:project_platform"` // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
  12. ProjectForm int `gorm:"column:project_form"` // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
  13. TalentType int `gorm:"column:talent_type"` // 达人类型
  14. RecruitDdl time.Time `gorm:"column:recruit_ddl"` // 招募截止时间
  15. ContentType int `gorm:"column:content_type"` // 内容形式,1代表图文,2代表视频
  16. ProjectDetail string `gorm:"column:project_detail"` // 项目详情
  17. EnterpriseID int `gorm:"column:enterprise_id"` // 所属企业id
  18. ProductID int `gorm:"column:product_id"` // 关联商品id
  19. CreatedAt time.Time `gorm:"column:created_at"` // 创建时间
  20. UpdatedAt time.Time `gorm:"column:updated_at"` // 修改时间
  21. }
  22. func (m *ProjectInfo) TableName() string {
  23. return "project_info"
  24. }