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.
19 lines
800 B
19 lines
800 B
2 months ago
|
package models
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type BotStockIndex struct {
|
||
|
Code string `xorm:"not null default '' comment('code') VARCHAR(255)"`
|
||
|
Country string `xorm:"not null default '' comment('国家') VARCHAR(255)"`
|
||
|
Currency string `xorm:"not null default '' comment('货币') VARCHAR(255)"`
|
||
|
Exchange string `xorm:"not null comment('交易所') VARCHAR(255)"`
|
||
|
Id int `xorm:"not null pk INT"`
|
||
|
Intro string `xorm:"not null comment('介绍') TEXT"`
|
||
|
Name string `xorm:"not null default '' comment('名称') VARCHAR(255)"`
|
||
|
Sort int `xorm:"not null default 0 comment('排序') INT"`
|
||
|
Status int `xorm:"not null default 1 comment('1 开启 2 关闭') SMALLINT"`
|
||
|
UpdateTime time.Time `xorm:"comment('更新时间') DATETIME"`
|
||
|
}
|