feat:完善项目信息
This commit is contained in:
@ -117,6 +117,24 @@ const (
|
||||
InvalidStatusForNot
|
||||
)
|
||||
|
||||
// TechnologyStatus 科技信息状态
|
||||
type TechnologyStatus struct {
|
||||
Status TechnologyStatusKind `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
|
||||
}
|
||||
|
||||
type TechnologyStatusKind int
|
||||
|
||||
const (
|
||||
// TechnologyStatusKindForDraft 草稿箱
|
||||
TechnologyStatusKindForDraft TechnologyStatusKind = iota
|
||||
// TechnologyStatusKindForExamining 审核中
|
||||
TechnologyStatusKindForExamining
|
||||
// TechnologyStatusKindForAgree 审核通过
|
||||
TechnologyStatusKindForAgree
|
||||
// TechnologyStatusKindForRefuse 审核拒绝
|
||||
TechnologyStatusKindForRefuse
|
||||
)
|
||||
|
||||
type Area struct {
|
||||
Province string `gorm:"column:province;type:varchar(8);default:'';comment:所在省" json:"province"`
|
||||
City string `gorm:"column:city;type:varchar(8);default:'';comment:所在市" json:"city"`
|
||||
|
Reference in New Issue
Block a user