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

2 months ago
package models
import (
"time"
)
type BotFaq struct {
Content string `xorm:"not null TEXT"`
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('文档内容标识') index VARCHAR(255)"`
Status int `xorm:"not null default 2 comment('1 上架 2下架') SMALLINT"`
Title string `xorm:"not null default '' VARCHAR(255)"`
UpdateTime time.Time `xorm:"not null DATETIME"`
Weight float64 `xorm:"not null default 0 comment('权重') index DOUBLE"`
}