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
1005 B

package models
type BotCategory struct {
Createtime int64 `xorm:"comment('创建时间') BIGINT"`
Description string `xorm:"default '' comment('描述') VARCHAR(255)"`
Diyname string `xorm:"default '' comment('自定义名称') VARCHAR(30)"`
Flag string `xorm:"default '' SET('hot','index','recommend')"`
Id int `xorm:"not null pk autoincr index(weigh) INT"`
Image string `xorm:"default '' comment('图片') VARCHAR(100)"`
Keywords string `xorm:"default '' comment('关键字') VARCHAR(255)"`
Name string `xorm:"default '' VARCHAR(30)"`
Nickname string `xorm:"default '' VARCHAR(50)"`
Pid int `xorm:"not null default 0 comment('父ID') index INT"`
Status string `xorm:"default '' comment('状态') VARCHAR(30)"`
Type string `xorm:"default '' comment('栏目类型') VARCHAR(30)"`
Updatetime int64 `xorm:"comment('更新时间') BIGINT"`
Weigh int `xorm:"not null default 0 comment('权重') index(weigh) INT"`
}