feat:完善项目信息
This commit is contained in:
@ -24,7 +24,7 @@ type TechnologyAchievement struct {
|
||||
Introduce string `gorm:"column:introduce;type:text;comment:介绍描述" json:"introduce"`
|
||||
Source string `gorm:"source:introduce;type:text;comment:成果来源" json:"source"`
|
||||
Shelf
|
||||
Status TechnologyAchievementStatus `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
|
||||
TechnologyStatus
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
@ -46,20 +46,6 @@ const (
|
||||
TechnologyAchievementModeForCharge
|
||||
)
|
||||
|
||||
// TechnologyAchievementStatus 技术成果状态
|
||||
type TechnologyAchievementStatus int
|
||||
|
||||
const (
|
||||
// TechnologyAchievementStatusForDraft 草稿箱
|
||||
TechnologyAchievementStatusForDraft TechnologyAchievementStatus = iota
|
||||
// TechnologyAchievementStatusForExamining 审核中
|
||||
TechnologyAchievementStatusForExamining
|
||||
// TechnologyAchievementStatusForAgree 审核通过
|
||||
TechnologyAchievementStatusForAgree
|
||||
// TechnologyAchievementStatusForRefuse 审核拒绝
|
||||
TechnologyAchievementStatusForRefuse
|
||||
)
|
||||
|
||||
func (m *TechnologyAchievement) TableName() string {
|
||||
return "technology_achievement"
|
||||
}
|
||||
|
Reference in New Issue
Block a user