feat:完善网站信息,增加创新服务数据模型

This commit is contained in:
henry
2021-12-20 10:35:20 +08:00
parent cb5ab0ae37
commit 91f5d0868f
7 changed files with 208 additions and 41 deletions

View File

@ -9,7 +9,7 @@ type ActivityApply struct {
Mode ActivityInstanceMode `gorm:"column:mode;type:tinyint(1);default:1;comment:活动模式" json:"mode"`
ActivityInstanceBasic
Amount float64 `gorm:"column:amount;type:decimal(10,2);default:0;comment:活动收费金额" json:"amount"`
Content string `gorm:"column:title;type:text;comment:活动详情" json:"content"`
Content string `gorm:"column:content;type:text;comment:活动详情" json:"content"`
MaxNumber int `gorm:"column:max_number;type:int(6);default:0;comment:报名限制人数0不做限制" json:"max_number"`
Status ActivityApplyStatus `gorm:"column:status;type:tinyint(1);default:0;comment:审核状态" json:"status"`
ModelDeleted