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.
19 lines
817 B
19 lines
817 B
2 months ago
|
package models
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BotBanner struct {
|
||
|
Content string `xorm:"not null comment('内容') LONGTEXT"`
|
||
|
CreateTime time.Time `xorm:"not null DATETIME"`
|
||
|
Id int `xorm:"not null pk autoincr INT"`
|
||
|
IsDelete int `xorm:"not null default 1 comment('是否删除 1未删除 2已删除') index SMALLINT"`
|
||
|
Lang int `xorm:"not null default 0 comment('语言') index INT"`
|
||
|
Name string `xorm:"not null default '' comment('名称') VARCHAR(255)"`
|
||
|
Path string `xorm:"not null default '' comment('图片路径') VARCHAR(255)"`
|
||
|
Status int `xorm:"not null default 1 comment('1 上架 2下架') index SMALLINT"`
|
||
|
Title string `xorm:"not null default '' comment('标题') VARCHAR(255)"`
|
||
|
UpdateTime time.Time `xorm:"not null DATETIME"`
|
||
|
}
|