feat:完善项目

This commit is contained in:
henry
2022-01-15 16:48:49 +08:00
parent 57daf5119d
commit 6d075dab4f
33 changed files with 196 additions and 154 deletions

View File

@ -5,7 +5,7 @@ import "encoding/json"
// ServiceDemand 服务需求数据模型
type ServiceDemand struct {
Model
Local
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Kind string `gorm:"column:kind;type:varchar(50);default:'';comment:需求类型" json:"kind"`
Title string `gorm:"column:title;type:varchar(50);default:'';comment:需求名称" json:"title"`