update .gitignore
This commit is contained in:
18
app/common/model/service_innovate_kind.go
Normal file
18
app/common/model/service_innovate_kind.go
Normal file
@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
// ServiceInnovateKind 创新服务分类数据模型
|
||||
type ServiceInnovateKind struct {
|
||||
Model
|
||||
Title string `gorm:"column:title;type:varchar(50);default:'';comment:创新服务分类标题" json:"title"`
|
||||
Sort int `gorm:"column:sort;type:tinyint(1);default:0;comment:创新服务分类排序" json:"sort"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *ServiceInnovateKind) TableName() string {
|
||||
return "service_innovate_kind"
|
||||
}
|
||||
|
||||
func NewServiceInnovateKind() *ServiceInnovateKind {
|
||||
return &ServiceInnovateKind{}
|
||||
}
|
Reference in New Issue
Block a user