123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- package chart_info
- import (
- "time"
- )
- type ChartInfo struct {
- ChartInfoId int `gorm:"primaryKey;column:chart_info_id;type:int(11);not null" json:"chartInfoId"`
- ChartName string `gorm:"uniqueIndex:idx_chart_name;column:chart_name;type:varchar(500);default:''" json:"chartName"`
- UniqueCode string `gorm:"unique;column:unique_code;type:varchar(50);default:''" json:"uniqueCode"`
- ChartClassifyId int `gorm:"uniqueIndex:idx_chart_name;column:chart_classify_id;type:int(11);default:0" json:"chartClassifyId"`
- SysUserId int `gorm:"column:sys_user_id;type:int(11);default:0" json:"sysUserId"`
- SysUserRealName string `gorm:"column:sys_user_real_name;type:varchar(100);default:''" json:"sysUserRealName"`
- CreateTime time.Time `gorm:"column:create_time;type:datetime" json:"createTime"`
- ModifyTime time.Time `gorm:"column:modify_time;type:datetime" json:"modifyTime"`
- DateType int `gorm:"column:date_type;type:int(11);default:0" json:"dateType"`
- StartDate string `gorm:"column:start_date;type:varchar(30);default:''" json:"startDate"`
- EndDate string `gorm:"column:end_date;type:varchar(30);default:''" json:"endDate"`
- IsSetName int `gorm:"column:is_set_name;type:tinyint(4);default:0" json:"isSetName"`
- EdbInfoIDs string `gorm:"column:edb_info_ids;type:varchar(100);default:''" json:"edbInfoIds"`
- ChartType int `gorm:"column:chart_type;type:tinyint(4);default:1" json:"chartType"`
- Calendar string `gorm:"column:calendar;type:varchar(10);default:''" json:"calendar"`
- SeasonStartDate string `gorm:"column:season_start_date;type:varchar(30);default:''" json:"seasonStartDate"`
- SeasonEndDate string `gorm:"column:season_end_date;type:varchar(30);default:''" json:"seasonEndDate"`
- ChartImage string `gorm:"column:chart_image;type:varchar(255);default:''" json:"chartImage"`
- Sort int `gorm:"column:sort;type:int(9);default:0" json:"sort"`
- EdbEndDate time.Time `gorm:"column:edb_end_date;type:date" json:"edbEndDate"`
- LeftMin string `gorm:"column:left_min;type:varchar(30);default:''" json:"leftMin"`
- LeftMax string `gorm:"column:left_max;type:varchar(30);default:''" json:"leftMax"`
- RightMin string `gorm:"column:right_min;type:varchar(30);default:''" json:"rightMin"`
- RightMax string `gorm:"column:right_max;type:varchar(30);default:''" json:"rightMax"`
- Right2Min string `gorm:"column:right2_min;type:varchar(30);default:''" json:"right2Min"`
- Right2Max string `gorm:"column:right2_max;type:varchar(30);default:''" json:"right2Max"`
- MinMaxSave int `gorm:"column:min_max_save;type:int(11);default:0" json:"minMaxSave"`
- Source int `gorm:"column:source;type:int(11);default:0" json:"source"`
- ExtraConfig string `gorm:"column:extra_config;type:text;default:null" json:"extraConfig"`
- ChartNameEn string `gorm:"column:chart_name_en" json:"chartNameEn"`
- Disabled uint8 `gorm:"column:disabled" json:"disabled"`
- BarConfig string `gorm:"column:bar_config" json:"barConfig"`
- SeasonExtraConfig string `gorm:"column:season_extra_config" json:"seasonExtraConfig"`
- StartYear int `gorm:"column:start_year" json:"startYear"`
- ChartThemeID int `gorm:"column:chart_theme_id" json:"chartThemeId"`
- SourcesFrom string `gorm:"column:sources_from" json:"sourcesFrom"`
- Instructions string `gorm:"column:instructions" json:"instructions"`
- MarkersLines string `gorm:"column:markers_lines" json:"markersLines"`
- MarkersAreas string `gorm:"column:markers_areas" json:"markersAreas"`
- }
- func (m *ChartInfo) TableName() string {
- return "chart_info"
- }
- var ChartInfoColumns = struct {
- ChartInfoID string
- ChartName string
- UniqueCode string
- ChartClassifyID string
- SysUserID string
- SysUserRealName string
- CreateTime string
- ModifyTime string
- DateType string
- StartDate string
- EndDate string
- IsSetName string
- EdbInfoIDs string
- ChartType string
- Calendar string
- SeasonStartDate string
- SeasonEndDate string
- ChartImage string
- Sort string
- EdbEndDate string
- LeftMin string
- LeftMax string
- RightMin string
- RightMax string
- Right2Min string
- Right2Max string
- MinMaxSave string
- ChartNameEn string
- Disabled string
- BarConfig string
- Source string
- ExtraConfig string
- SeasonExtraConfig string
- StartYear string
- ChartThemeID string
- SourcesFrom string
- Instructions string
- MarkersLines string
- MarkersAreas string
- }{
- ChartInfoID: "chart_info_id",
- ChartName: "chart_name",
- UniqueCode: "unique_code",
- ChartClassifyID: "chart_classify_id",
- SysUserID: "sys_user_id",
- SysUserRealName: "sys_user_real_name",
- CreateTime: "create_time",
- ModifyTime: "modify_time",
- DateType: "date_type",
- StartDate: "start_date",
- EndDate: "end_date",
- IsSetName: "is_set_name",
- EdbInfoIDs: "edb_info_ids",
- ChartType: "chart_type",
- Calendar: "calendar",
- SeasonStartDate: "season_start_date",
- SeasonEndDate: "season_end_date",
- ChartImage: "chart_image",
- Sort: "sort",
- EdbEndDate: "edb_end_date",
- LeftMin: "left_min",
- LeftMax: "left_max",
- RightMin: "right_min",
- RightMax: "right_max",
- Right2Min: "right2_min",
- Right2Max: "right2_max",
- MinMaxSave: "min_max_save",
- ChartNameEn: "chart_name_en",
- Disabled: "disabled",
- BarConfig: "bar_config",
- Source: "source",
- ExtraConfig: "extra_config",
- SeasonExtraConfig: "season_extra_config",
- StartYear: "start_year",
- ChartThemeID: "chart_theme_id",
- SourcesFrom: "sources_from",
- Instructions: "instructions",
- MarkersLines: "markers_lines",
- MarkersAreas: "markers_areas",
- }
|