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.
38 lines
2.6 KiB
38 lines
2.6 KiB
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotPreMysStock struct {
|
|
CompanyInfo string `xorm:"not null comment('公司简介') TEXT"`
|
|
CompanyOpenTime time.Time `xorm:"comment('公司上市时间') DATETIME"`
|
|
CompanyRegAmount string `xorm:"not null default '' comment('公司注册资本') VARCHAR(255)"`
|
|
CreateTime time.Time `xorm:"DATETIME"`
|
|
EndTime time.Time `xorm:"comment('认购结束时间') DATETIME"`
|
|
GetTime time.Time `xorm:"comment('中签时间') DATETIME"`
|
|
HadGetNum int `xorm:"not null default 0 comment('已经认购数量') INT"`
|
|
HqStatus int `xorm:"comment('通知行情状态 1 成功 2 失败') SMALLINT(1)"`
|
|
Id int `xorm:"not null pk autoincr INT"`
|
|
IsDelete int `xorm:"not null default 1 comment('是否删除 1 未删除 2已删除') SMALLINT"`
|
|
IsPostPay int `xorm:"not null default 1 comment('是否后支付 1不后支付 2可后支付 ') SMALLINT"`
|
|
LimitGetNum int `xorm:"not null default 1 comment('单个账户申购次数') INT"`
|
|
Logo string `xorm:"not null default '' comment('股票logo') VARCHAR(255)"`
|
|
Max int `xorm:"not null default 0 comment('最大申购数量') INT"`
|
|
Min int `xorm:"not null default 0 comment('最小申购数量') INT"`
|
|
OpenStatus int `xorm:"not null default 0 comment('上市状态 见配置') SMALLINT"`
|
|
OpenTime time.Time `xorm:"comment('上市时间') DATETIME"`
|
|
PayDeadlineTime time.Time `xorm:"comment('预支付截止时间') DATETIME"`
|
|
Price string `xorm:"not null default 0.000000000000000000 comment('单股价格') DECIMAL(36,18)"`
|
|
Rate string `xorm:"not null comment('10 为 10%') DECIMAL(5,2)"`
|
|
SignStatus int `xorm:"not null default 2 comment('1 已签名 2 未签名') SMALLINT"`
|
|
StartTime time.Time `xorm:"comment('开始认购时间') DATETIME"`
|
|
Status int `xorm:"not null default 2 comment('发布状态 1 已发布 2 未发布') SMALLINT"`
|
|
StockCode string `xorm:"not null default '' comment('股票代码 唯一') unique VARCHAR(255)"`
|
|
StockName string `xorm:"not null default '' comment('股票名称') VARCHAR(255)"`
|
|
StockType int `xorm:"not null default 1 comment('股票类型') SMALLINT"`
|
|
Tape int `xorm:"not null default 0 comment('交易所类型') SMALLINT"`
|
|
Total int `xorm:"not null default 0 comment('发行总数') INT"`
|
|
TradeStatus int `xorm:"comment('通知交易状态 1 成功 2 失败') SMALLINT(1)"`
|
|
UpdateTime time.Time `xorm:"DATETIME"`
|
|
}
|
|
|