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 "time"
// TechnologyProject 技术科研项目数据模型
type TechnologyProject struct {
Model
Local
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Kind string `gorm:"column:kind;type:varchar(100);default:'';comment:类型" json:"kind"`
Role TechnologyProjectRole `gorm:"column:role;type:tinyint(1);default:1;comment:课题角色1承担单位2参与单位" json:"role"`