feat:完善项目信息
This commit is contained in:
@ -137,7 +137,7 @@ func (this *Instance) Handle() {
|
||||
&synchronized{iModel: model.NewTechnologyPaper()}, &synchronized{iModel: model.NewTechnologyProduct()},
|
||||
&synchronized{iModel: model.NewTechnologyProject()}, &synchronized{iModel: model.NewTechnologyTopic()},
|
||||
&synchronized{iModel: model.NewServiceDocking()}, &synchronized{iModel: model.NewServiceMessage()},
|
||||
&synchronized{iModel: model.NewServiceSolutionCase()}, &synchronized{iModel: model.NewServiceSolutionCaseDetail()},
|
||||
&synchronized{iModel: model.NewServiceSolutionCase()}, &synchronized{iModel: model.NewServiceSolutionCaseKind()},
|
||||
&synchronized{iModel: model.NewServiceInnovate()}, &synchronized{iModel: model.NewServiceInnovateKind()},
|
||||
// 活动管理
|
||||
&synchronized{iModel: model.NewActivityInstance()}, &synchronized{iModel: model.NewActivityApply()},
|
||||
|
@ -1,23 +0,0 @@
|
||||
package model
|
||||
|
||||
// ServiceSolutionCaseDetail 服务解决案例数据模型
|
||||
type ServiceSolutionCaseDetail struct {
|
||||
Model
|
||||
SolutionCaseID uint64 `json:"solution_case_id"`
|
||||
Title string `gorm:"column:title;type:varchar(100);default:'';comment:标题" json:"title"`
|
||||
Image
|
||||
Description string `gorm:"column:description;type:varchar(255);comment:描述" json:"description"`
|
||||
Content string `gorm:"column:content;type:text;comment:内容" json:"content"`
|
||||
Visits int `gorm:"column:visits;type:int(6);default:0;comment:浏览数" json:"visits"`
|
||||
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,数值越大,优先排序" json:"sort"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *ServiceSolutionCaseDetail) TableName() string {
|
||||
return "service_solution_case_detail"
|
||||
}
|
||||
|
||||
func NewServiceSolutionCaseDetail() *ServiceSolutionCaseDetail {
|
||||
return &ServiceSolutionCaseDetail{}
|
||||
}
|
Reference in New Issue
Block a user