package chart_series import "time" type ChartSeries struct { ChartSeriesId int `gorm:"primaryKey;column:chart_series_id;type:int(11);not null"` SeriesName string `description:"系列名称"` SeriesNameEn string `description:"系列英文名称"` ChartInfoId int `description:"图表ID"` ChartStyle string `description:"图表类型"` ChartColor string `description:"颜色"` ChartWidth int `description:"线条大小"` IsPoint int `description:"是否用数据点展示(0 否,1是)"` IsNumber int `description:"是否用数值展示(0 否,1是)"` IsAxis int `description:"1:左轴,0:右轴"` MaxData float64 `description:"上限"` MinData float64 `description:"下限"` IsOrder bool `description:"true:正序,false:逆序"` CreateTime time.Time `description:"创建时间"` ModifyTime time.Time `description:"修改时间"` } func (c *ChartSeries) TableName() string { return "chart_series" }