feat:完善项目信息

This commit is contained in:
henry
2022-01-13 15:23:27 +08:00
parent e3909112ce
commit 0494bbf5d0
18 changed files with 396 additions and 15 deletions

View File

@ -5,7 +5,7 @@ type ActivityApply struct {
Model
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Identity int `gorm:"column:identity;type:tinyint(3);default:0;comment:身份信息" json:"-"`
Identity int `gorm:"column:identity;type:tinyint(3);default:0;comment:身份信息" json:"identity"`
ActivityInstanceBasic
Contact string `gorm:"column:contact;type:varchar(20);default:'';comment:联系人" json:"contact"`
ContactMobile string `gorm:"column:contact_mobile;type:varchar(15);default:'';comment:联系方式" json:"contact_mobile"`
@ -15,7 +15,7 @@ type ActivityApply struct {
MaxNumber int `gorm:"column:max_number;type:int(6);default:0;comment:报名限制人数0不做限制" json:"max_number"`
Address string `gorm:"column:address;type:varchar(255);default:'';comment:活动地址" json:"address"`
NotifyCrowd int `gorm:"column:notify_crowd;type:tinyint(3);default:0;comment:通知人群" json:"notify_crowd"`
Status ActivityApplyStatus `gorm:"column:status;type:tinyint(1);default:0;comment:审状态" json:"status"`
Status ActivityApplyStatus `gorm:"column:status;type:tinyint(1);default:0;comment:审状态" json:"status"`
ModelDeleted
ModelAt
}