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.
20 lines
930 B
20 lines
930 B
2 months ago
|
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"`
|
||
|
}
|