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.

23 lines
1.3 KiB

2 months ago
package models
type BotAttachment struct {
AdminId int `xorm:"not null default 0 comment('管理员ID') INT"`
Category string `xorm:"default '' comment('类别') VARCHAR(50)"`
Createtime int64 `xorm:"comment('创建日期') BIGINT"`
Extparam string `xorm:"default '' comment('透传数据') VARCHAR(255)"`
Filename string `xorm:"default '' comment('文件名称') VARCHAR(100)"`
Filesize int `xorm:"not null default 0 comment('文件大小') INT"`
Id int `xorm:"not null pk autoincr comment('ID') INT"`
Imageframes int `xorm:"not null default 0 comment('图片帧数') INT"`
Imageheight string `xorm:"default '' comment('高度') VARCHAR(30)"`
Imagetype string `xorm:"default '' comment('图片类型') VARCHAR(30)"`
Imagewidth string `xorm:"default '' comment('宽度') VARCHAR(30)"`
Mimetype string `xorm:"default '' comment('mime类型') VARCHAR(100)"`
Sha1 string `xorm:"default '' comment('文件 sha1编码') VARCHAR(40)"`
Storage string `xorm:"not null default 'local' comment('存储位置') VARCHAR(100)"`
Updatetime int64 `xorm:"comment('更新时间') BIGINT"`
Uploadtime int64 `xorm:"comment('上传时间') BIGINT"`
Url string `xorm:"default '' comment('物理路径') VARCHAR(255)"`
UserId int `xorm:"not null default 0 comment('会员ID') INT"`
}