package models import ( "time" ) type BotDigitalList struct { CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"` ExchangeName string `xorm:"not null comment('数字币兑换对名称(默认USDT)') unique(digital_name) VARCHAR(10)"` Id int `xorm:"not null pk autoincr INT"` Info string `xorm:"not null comment('数字货币简介') TEXT"` IsOwner int `xorm:"comment('是否自发') TINYINT(1)"` KeepDecimal int `xorm:"comment('保留小数位') INT"` LogoLink string `xorm:"comment('logo链接') VARCHAR(255)"` Sort int `xorm:"comment('排序') INT"` Status int `xorm:"comment('启用状态:0未启用,1已启用') index TINYINT(1)"` TradeName string `xorm:"not null comment('数字货币名称') unique(digital_name) VARCHAR(10)"` UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"` }