|
@@ -6,7 +6,7 @@ import "time"
|
|
|
type ChartInfoFutureGoodProfit struct {
|
|
|
ChartInfoId int `gorm:"primaryKey;column:chart_info_id;type:int(10) unsigned;not null" json:"-"` // 图表ID(chart_info表source=5的)
|
|
|
ProfitName string `gorm:"column:profit_name;type:varchar(16);not null;default:''" json:"profitName"` // 领先单位
|
|
|
- ProfitEnName string `gorm:"column:profit_en_name;type:varchar(16);not null;default:''" json:"profitEnName"` // 领先单位
|
|
|
+ ProfitNameEn string `gorm:"column:profit_name_en;type:varchar(16);not null;default:''" json:"ProfitNameEn"` // 领先单位
|
|
|
XValue string `gorm:"column:x_value;type:text" json:"x_value"` // x轴的数据值
|
|
|
YValue string `gorm:"column:y_value;type:text" json:"y_value"` // y轴的数据值
|
|
|
CreateTime time.Time `gorm:"column:create_time;type:datetime" json:"createTime"` // 创建时间
|
|
@@ -22,7 +22,7 @@ func (m *ChartInfoFutureGoodProfit) TableName() string {
|
|
|
var ChartInfoFutureGoodProfitColumns = struct {
|
|
|
ChartInfoId string
|
|
|
ProfitName string
|
|
|
- ProfitEnName string
|
|
|
+ ProfitNameEn string
|
|
|
XValue string
|
|
|
YValue string
|
|
|
CreateTime string
|
|
@@ -30,7 +30,7 @@ var ChartInfoFutureGoodProfitColumns = struct {
|
|
|
}{
|
|
|
ChartInfoId: "chart_info_id",
|
|
|
ProfitName: "profit_name",
|
|
|
- ProfitEnName: "profit_en_name",
|
|
|
+ ProfitNameEn: "profit_name_en",
|
|
|
XValue: "x_value",
|
|
|
YValue: "y_value",
|
|
|
CreateTime: "create_time",
|