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"` }