You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
505 B
18 lines
505 B
package model
|
|
|
|
import "service-api/global"
|
|
|
|
type BsHotWord struct { //搜索热词
|
|
global.BASE_ID
|
|
Title string `gorm:"size:10" json:"title"` //名称
|
|
Type int `gorm:"" json:"type"` //热词类型 0:一般 1:爆词...
|
|
Status string `gorm:"size:4" json:"-"` //状态 0=下架 1=上架
|
|
Sort int `gorm:"" json:"sort"` //排序
|
|
Times int `gorm:"" json:"times"` //搜索次数
|
|
|
|
global.TIME_MODEL
|
|
}
|
|
|
|
func (BsHotWord) TableName() string {
|
|
return "bs_hot_word"
|
|
}
|
|
|