feat:完善项目信息

This commit is contained in:
henry
2022-01-12 15:05:14 +08:00
parent 0d49575e06
commit 4ec0953a29
33 changed files with 817 additions and 249 deletions

View File

@ -6,11 +6,12 @@ import "encoding/json"
type ServiceInnovate struct {
Model
ModelTenant
KindID uint64 `gorm:"column:kind_id;type:int(11);default:0;comment:类型ID" json:"-"`
Title string `gorm:"column:title;type:varchar(50);default:'';comment:创新服务标题" json:"title"`
Content string `gorm:"column:content;type:text;comment:创新服务内容" json:"content"`
Tag string `gorm:"column:tag;type:varchar(255);default:'';comment:创新服务标签" json:"-"`
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,数值越小,优先排序" json:"sort"`
KindID uint64 `gorm:"column:kind_id;type:int(11);default:0;comment:类型ID" json:"-"`
Title string `gorm:"column:title;type:varchar(50);default:'';comment:创新服务标题" json:"title"`
Description string `gorm:"column:description;type:varchar(255);default:'';comment:创新服务描述" json:"description"`
Content string `gorm:"column:content;type:text;comment:创新服务内容" json:"content"`
Tag string `gorm:"column:tag;type:varchar(255);default:'';comment:创新服务标签" json:"-"`
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,数值越小,优先排序" json:"sort"`
ModelDeleted
ModelAt
}