|
@@ -3,6 +3,7 @@ package models
|
|
import (
|
|
import (
|
|
"eta_gn/eta_index_lib/utils"
|
|
"eta_gn/eta_index_lib/utils"
|
|
"fmt"
|
|
"fmt"
|
|
|
|
+ "gorm.io/gorm"
|
|
"html"
|
|
"html"
|
|
"strings"
|
|
"strings"
|
|
"time"
|
|
"time"
|
|
@@ -74,6 +75,7 @@ type BusinessConf struct {
|
|
Necessary int `gorm:"column:necessary;not null;default:0"`
|
|
Necessary int `gorm:"column:necessary;not null;default:0"`
|
|
Remark string `gorm:"column:remark;type:varchar(128);not null;default:''"`
|
|
Remark string `gorm:"column:remark;type:varchar(128);not null;default:''"`
|
|
CreateTime *time.Time `gorm:"column:create_time"`
|
|
CreateTime *time.Time `gorm:"column:create_time"`
|
|
|
|
+ gorm.Model
|
|
}
|
|
}
|
|
|
|
|
|
func (m *BusinessConf) TableName() string {
|
|
func (m *BusinessConf) TableName() string {
|