feat:完善项目信息
This commit is contained in:
@ -22,7 +22,7 @@ type TechnologyProduct struct {
|
||||
Keyword string `gorm:"column:keyword;type:varchar(255);default:'';comment:关键词" json:"-"`
|
||||
Introduce string `gorm:"column:introduce;type:text;comment:介绍描述" json:"introduce"`
|
||||
Shelf
|
||||
Status TechnologyProductStatus `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
|
||||
TechnologyStatus
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
@ -41,20 +41,6 @@ const (
|
||||
TechnologyProductLeadStandardForInternationalLX
|
||||
)
|
||||
|
||||
// TechnologyProductStatus 状态
|
||||
type TechnologyProductStatus int
|
||||
|
||||
const (
|
||||
// TechnologyProductStatusForDraft 草稿箱
|
||||
TechnologyProductStatusForDraft TechnologyProductStatus = iota
|
||||
// TechnologyProductStatusForExamining 审核中
|
||||
TechnologyProductStatusForExamining
|
||||
// TechnologyProductStatusForAgree 审核通过
|
||||
TechnologyProductStatusForAgree
|
||||
// TechnologyProductStatusForRefuse 审核拒绝
|
||||
TechnologyProductStatusForRefuse
|
||||
)
|
||||
|
||||
// TechnologyProductShelfStatus 上下架状态
|
||||
type TechnologyProductShelfStatus int
|
||||
|
||||
|
Reference in New Issue
Block a user