fix bug
This commit is contained in:
@@ -8,9 +8,9 @@ import (
|
||||
// StockFinaIndicator 财务指标模型
|
||||
type StockFinaIndicator struct {
|
||||
gorm.Model
|
||||
TsCode string `gorm:"type:varchar(20);not null;index:idx_ts_code;comment:TS代码"`
|
||||
AnnDate string `gorm:"type:date;not null;index:idx_ann_date;comment:公告日期"`
|
||||
EndDate string `gorm:"type:date;not null;index:idx_end_date;comment:报告期"`
|
||||
TsCode string `gorm:"type:varchar(20);not null;index:fi_ts_code;comment:TS代码"`
|
||||
AnnDate int `gorm:"index:idx_ann_date;comment:公告日期"`
|
||||
EndDate string `gorm:"index:idx_end_date;comment:报告期"`
|
||||
|
||||
// 每股指标
|
||||
Eps float64 `gorm:"type:decimal(20,4);comment:基本每股收益"`
|
||||
|
||||
Reference in New Issue
Block a user