package models type BotAdmin struct { Avatar string `xorm:"default '' comment('头像') VARCHAR(255)"` Createtime int64 `xorm:"comment('创建时间') BIGINT"` Email string `xorm:"default '' comment('电子邮箱') VARCHAR(100)"` Id int `xorm:"not null pk autoincr comment('ID') INT"` Loginfailure int `xorm:"not null default 0 comment('失败次数') TINYINT"` Loginip string `xorm:"comment('登录IP') VARCHAR(50)"` Logintime int64 `xorm:"comment('登录时间') BIGINT"` Mobile string `xorm:"default '' comment('手机号码') VARCHAR(11)"` Nickname string `xorm:"default '' comment('昵称') VARCHAR(50)"` Password string `xorm:"default '' comment('密码') VARCHAR(32)"` Salt string `xorm:"default '' comment('密码盐') VARCHAR(30)"` Status string `xorm:"not null default 'normal' comment('状态') VARCHAR(30)"` Token string `xorm:"default '' comment('Session标识') VARCHAR(59)"` Updatetime int64 `xorm:"comment('更新时间') BIGINT"` Username string `xorm:"default '' comment('用户名') unique VARCHAR(20)"` }