package models import ( "time" ) type BotFile struct { CreateTime time.Time `xorm:"not null DATETIME"` Id int `xorm:"not null pk autoincr INT"` Path string `xorm:"not null default '' comment('路径') VARCHAR(255)"` Type int `xorm:"not null default 1 comment('资源类型 1 图片') SMALLINT"` }