feat:完善项目信息
This commit is contained in:
@ -21,7 +21,7 @@ type TechnologyDemand struct {
|
||||
BudgetMode TechnologyDemandBudgetMode `gorm:"column:budget_mode;type:tinyint(1);default:1;comment:预算模式(1:具体金额,2:面议)" json:"budget_mode"`
|
||||
Deadline time.Time `gorm:"column:deadline;type:date;not null;comment:截止时间" json:"deadline"`
|
||||
Other string `gorm:"column:other;type:varchar(255);default:'';comment:其他信息" json:"-"`
|
||||
Status TechnologyDemandStatus `gorm:"column:status;type:tinyint(1);default:0;comment:状态" json:"status"`
|
||||
TechnologyStatus
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
@ -46,20 +46,6 @@ const (
|
||||
TechnologyDemandBudgetModeForToFace
|
||||
)
|
||||
|
||||
// TechnologyDemandStatus 需求文档状态
|
||||
type TechnologyDemandStatus int
|
||||
|
||||
const (
|
||||
// TechnologyDemandStatusForDraft 草稿箱
|
||||
TechnologyDemandStatusForDraft TechnologyDemandStatus = iota
|
||||
// TechnologyDemandStatusForExamining 审核中
|
||||
TechnologyDemandStatusForExamining
|
||||
// TechnologyDemandStatusForAgree 审核通过
|
||||
TechnologyDemandStatusForAgree
|
||||
// TechnologyDemandStatusForRefuse 审核拒绝
|
||||
TechnologyDemandStatusForRefuse
|
||||
)
|
||||
|
||||
func (m *TechnologyDemand) TableName() string {
|
||||
return m.NewTableName("technology_demand")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user