18 lines
607 B
Go
18 lines
607 B
Go
|
|
package models
|
|||
|
|
|
|||
|
|
// 资金流数据模型
|
|||
|
|
type MoneyTotal struct {
|
|||
|
|
ID uint `gorm:"primarykey"`
|
|||
|
|
Code string // 股票代码
|
|||
|
|
Last1DayMfAmount float64 // 最近1天净流入额(万元)
|
|||
|
|
Last3DayMfAmount float64 // 最近3天净流入额(万元)
|
|||
|
|
Last1DayTotalAmount float64 // 最近1天中大单总流入额(万元)
|
|||
|
|
Last3DayTotalAmount float64 // 最近3天中大单总流入额(万元)
|
|||
|
|
IsGreaterPervious bool // 是否比上一日大单流入额多
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// TableName 设置表名
|
|||
|
|
func (MoneyTotal) TableName() string {
|
|||
|
|
return "money_total"
|
|||
|
|
}
|