enterprise_talent_cooperate.go 1010 B

123456789101112131415
  1. package gorm_model
  2. type EnterpriseTalentCooperate struct {
  3. CooperateId int `gorm:"column:cooperate_id;type:int(11);primary_key;AUTO_INCREMENT;comment:主键ID" json:"cooperate_id"`
  4. EnterpriseId string `gorm:"column:enterprise_id;type:varchar(255);comment:商家ID" json:"enterprise_id"`
  5. TalentId string `gorm:"column:talent_id;type:varchar(255);comment:达人ID" json:"talent_id"`
  6. SupplierId int `gorm:"column:supplier_id;type:int(11);comment:服务商ID" json:"supplier_id"`
  7. TalentOrigin int `gorm:"column:talent_origin;type:int(11);comment:达人来源,1公海,2服务商" json:"talent_origin"`
  8. CooperateType int `gorm:"column:cooperate_type;type:int(11);comment:合作关系类型,1带货达人,2种草达人,3本地生活达人" json:"cooperate_type"`
  9. CooperateNum int `gorm:"column:cooperate_num;type:int(11);comment:累计合作次数" json:"cooperate_num"`
  10. }
  11. func (m *EnterpriseTalentCooperate) TableName() string {
  12. return "enterprise_talent_cooperate"
  13. }