|
@@ -6,7 +6,7 @@ import (
|
|
|
)
|
|
|
|
|
|
type ProjectInfo struct {
|
|
|
- ProjectID int64 `gorm:"column:project_id"` // 项目id
|
|
|
+ ProjectID int64 `gorm:"column:project_id;primary_key;AUTO_INCREMENT"` // 项目id
|
|
|
ProjectName string `gorm:"column:project_name"` // 项目名称
|
|
|
ProjectStatus int64 `gorm:"column:project_status"` // 项目状态,1-7分别代表创建中、待审核、招募中、待支付、失效、执行中、已结案
|
|
|
ProjectType int64 `gorm:"column:project_type"` // 项目类型,1代表全流程项目,2代表专项项目
|