123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- package edb_info
- import "time"
- type EdbInfo struct {
- EdbInfoId int `gorm:"primaryKey;column:edb_info_id;type:int(11);not null" json:"edbInfoId"`
- EdbInfoType uint8 `gorm:"column:edb_info_type;type:tinyint(9) unsigned;default:0" json:"edbInfoType"`
- SourceName string `gorm:"column:source_name;type:varchar(100)" json:"sourceName"`
- Source int `gorm:"uniqueIndex:idx_code_source;uniqueIndex:idx_edb_name;column:source;type:tinyint(4)" json:"source"`
- SubSource int `gorm:"column:sub_source;type:tinyint(4)" json:"subSource"`
- SubSourceName string `gorm:"column:sub_source_name;type:varchar(100)" json:"subSourceName"`
- EdbCode string `gorm:"uniqueIndex:idx_code_source;unique;column:edb_code;type:varchar(255);default:''" json:"edbCode"`
- EdbName string `gorm:"uniqueIndex:idx_edb_name;column:edb_name;type:varchar(255);default:''" json:"edbName"`
- EdbNameSource string `gorm:"column:edb_name_source;type:varchar(255);default:''" json:"edbNameSource"`
- Frequency string `gorm:"column:frequency;type:varchar(20);default:''" json:"frequency"`
- Unit string `gorm:"column:unit;type:varchar(20);default:''" json:"unit"`
- StartDate time.Time `gorm:"column:start_date;type:date" json:"startDate"`
- EndDate time.Time `gorm:"column:end_date;type:date" json:"endDate"`
- ClassifyId int `gorm:"index:idx_classify_id;column:classify_id;type:int(11)" json:"classifyId"`
- SysUserId int `gorm:"column:sys_user_id;type:int(11)" json:"sysUserId"`
- SysUserRealName string `gorm:"column:sys_user_real_name;type:varchar(100)" json:"sysUserRealName"`
- CreateTime time.Time `gorm:"column:create_time;type:datetime" json:"createTime"`
- ModifyTime time.Time `gorm:"column:modify_time;type:datetime" json:"modifyTime"`
- UniqueCode string `gorm:"unique;column:unique_code;type:varchar(50);default:''" json:"uniqueCode"`
- MinValue float64 `gorm:"column:min_value;type:double;default:0" json:"minValue"`
- MaxValue float64 `gorm:"column:max_value;type:double;default:0" json:"maxValue"`
- CalculateFormula string `gorm:"column:calculate_formula;type:varchar(255);default:''" json:"calculateFormula"`
- EdbType int `gorm:"column:edb_type;type:tinyint(4);default:1" json:"edbType"`
- IsUpdate int `gorm:"column:is_update;type:tinyint(4);default:1" json:"isUpdate"`
- Sort int `gorm:"column:sort;type:int(9);default:0" json:"sort"`
- LatestDate time.Time `gorm:"column:latest_date;type:date" json:"latestDate"`
- LatestValue float64 `gorm:"column:latest_value;type:double" json:"latestValue"`
- MoveType int `gorm:"column:move_type;type:tinyint(4);default:1" json:"moveType"`
- MoveFrequency string `gorm:"column:move_frequency;type:varchar(20);default:''" json:"moveFrequency"`
- NoUpdate int8 `gorm:"column:no_update;type:tinyint(4);default:0" json:"noUpdate"`
- ServerURL string `gorm:"column:server_url;type:varchar(255);default:''" json:"serverUrl"`
- EdbNameEn string `gorm:"column:edb_name_en;type:varchar(255);default:''" json:"edbNameEn"`
- UnitEn string `gorm:"column:unit_en;type:varchar(20);default:''" json:"unitEn"`
- ChartImage string `gorm:"column:chart_image;type:varchar(255);default:''" json:"chartImage"`
- DataDateType string `gorm:"column:data_date_type;type:varchar(255);default:'交易日'" json:"dataDateType"`
- }
- func (m *EdbInfo) TableName() string {
- return "edb_info"
- }
- var EdbInfoColumns = struct {
- EdbInfoID string
- EdbInfoType string
- SourceName string
- Source string
- EdbCode string
- EdbName string
- EdbNameSource string
- Frequency string
- Unit string
- StartDate string
- EndDate string
- ClassifyID string
- SysUserID string
- SysUserRealName string
- CreateTime string
- ModifyTime string
- UniqueCode string
- MinValue string
- MaxValue string
- CalculateFormula string
- EdbType string
- IsUpdate string
- Sort string
- LatestDate string
- LatestValue string
- MoveType string
- MoveFrequency string
- NoUpdate string
- ServerURL string
- EdbNameEn string
- UnitEn string
- ChartImage string
- DataDateType string
- }{
- EdbInfoID: "edb_info_id",
- EdbInfoType: "edb_info_type",
- SourceName: "source_name",
- Source: "source",
- EdbCode: "edb_code",
- EdbName: "edb_name",
- EdbNameSource: "edb_name_source",
- Frequency: "frequency",
- Unit: "unit",
- StartDate: "start_date",
- EndDate: "end_date",
- ClassifyID: "classify_id",
- SysUserID: "sys_user_id",
- SysUserRealName: "sys_user_real_name",
- CreateTime: "create_time",
- ModifyTime: "modify_time",
- UniqueCode: "unique_code",
- MinValue: "min_value",
- MaxValue: "max_value",
- CalculateFormula: "calculate_formula",
- EdbType: "edb_type",
- IsUpdate: "is_update",
- Sort: "sort",
- LatestDate: "latest_date",
- LatestValue: "latest_value",
- MoveType: "move_type",
- MoveFrequency: "move_frequency",
- NoUpdate: "no_update",
- ServerURL: "server_url",
- EdbNameEn: "edb_name_en",
- UnitEn: "unit_en",
- ChartImage: "chart_image",
- DataDateType: "data_date_type",
- }
|