feat:完善项目信息

This commit is contained in:
henry
2022-01-10 17:43:43 +08:00
parent 4b5acca5c3
commit 6712feec35
19 changed files with 1169 additions and 38 deletions

View File

@ -5,10 +5,12 @@ import "encoding/json"
// ServiceInnovate 创新服务数据模型
type ServiceInnovate struct {
Model
Kind uint64 `gorm:"column:kind;type:int(11);default:0;comment:创新服务类型" json:"kind"`
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"`
ModelDeleted
ModelAt
}