feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 14:18:06 +08:00
parent 25ac50bb51
commit 851a2c1784
44 changed files with 192 additions and 190 deletions

View File

@ -11,16 +11,16 @@ type TechnologyDemand struct {
Model
Local
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Title string `gorm:"column:title;type:varchar(50);default:null;comment:需求名称" json:"title"`
Kind string `gorm:"column:kind;type:varchar(50);default:null;comment:需求类别" json:"-"`
Name string `gorm:"column:name;type:varchar(30);default:null;comment:联系人" json:"name"`
Mobile string `gorm:"column:mobile;type:varchar(15);default:null;comment:联系方式" json:"mobile"`
Title string `gorm:"column:title;type:varchar(50);default:'';comment:需求名称" json:"title"`
Kind string `gorm:"column:kind;type:varchar(50);default:'';comment:需求类别" json:"-"`
Name string `gorm:"column:name;type:varchar(30);default:'';comment:联系人" json:"name"`
Mobile string `gorm:"column:mobile;type:varchar(15);default:'';comment:联系方式" json:"mobile"`
Industry string `gorm:"column:industry;type:varchar(255);comment:所属领域;行业信息" json:"industry"`
Introduce string `gorm:"column:introduce;type:text;comment:需求描述" json:"introduce"`
Budget float64 `gorm:"column:budget;type:decimal(10,2);default:0;comment:投产预算" json:"budget"`
BudgetMode TechnologyDemandBudgetMode `gorm:"column:budget_mode;type:tinyint(1);default:1;comment:预算模式1具体金额2面议" json:"budget_mode"`
Deadline time.Time `gorm:"column:deadline;type:date;not null;comment:截止时间" json:"deadline"`
Other string `gorm:"column:other;type:varchar(255);default:null;comment:其他信息" json:"-"`
Other string `gorm:"column:other;type:varchar(255);default:'';comment:其他信息" json:"-"`
Status TechnologyDemandStatus `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
ModelDeleted
ModelAt