feat:增加用户服务需求数据模型

This commit is contained in:
henry
2021-11-29 17:24:48 +08:00
parent 998b78fb23
commit a441d1f2f1
8 changed files with 348 additions and 9 deletions

View File

@ -18,7 +18,7 @@ type TechnologyTopic struct {
Keyword string `gorm:"column:keyword;type:varchar(255);default:null;comment:关键词" json:"-"`
Amount float64 `gorm:"column:amount;decimal(10,2);default:0;comment:经费" json:"amount"`
Source TechnologyTopicSource `gorm:"column:source;type:tinyint(1);default:0;comment:来源" json:"source"`
Kind TechnologyTopicKind `gorm:"column:kind;type:tinyint(1);default:0comment:类型" json:"kind"`
Kind TechnologyTopicKind `gorm:"column:kind;type:tinyint(1);default:0;comment:类型" json:"kind"`
BeginAt time.Time `gorm:"column:begin_at;type:datetime;not null;comment:开始时间" json:"begin_at"`
FinishAt time.Time `gorm:"column:finish_at;type:datetime;not null;comment:结束时间" json:"finish_at"`
Status TechnologyTopicStatus `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`