12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package multiple_graph_config
- import (
- "time"
- )
- type MultipleGraphConfig struct {
- MultipleGraphConfigID uint32 `gorm:"primaryKey;column:multiple_graph_config_id;type:int(9) unsigned;not null" json:"-"`
- EdbInfoIDA int `gorm:"column:edb_info_id_a;type:int(9);default:null;default:0" json:"edbInfoIdA"`
- EdbInfoIDB int `gorm:"column:edb_info_id_b;type:int(9);default:null;default:0" json:"edbInfoIdB"`
- Curve string `gorm:"column:curve;type:text;default:null" json:"curve"`
- Correlation string `gorm:"column:correlation;type:text;default:null" json:"correlation"`
- RollingCorrelation string `gorm:"column:rolling_correlation;type:text;default:null" json:"rollingCorrelation"`
- SysUserID int `gorm:"column:sys_user_id;type:int(9);default:null;default:0" json:"sysUserId"`
- SysUserRealName string `gorm:"column:sys_user_real_name;type:varchar(64);default:null;default:''" json:"sysUserRealName"`
- ModifyTime time.Time `gorm:"column:modify_time;type:timestamp;default:null;default:CURRENT_TIMESTAMP" json:"modifyTime"`
- CreateTime time.Time `gorm:"column:create_time;type:datetime;default:null" json:"createTime"`
- }
- func (m *MultipleGraphConfig) TableName() string {
- return "multiple_graph_config"
- }
- var MultipleGraphConfigColumns = struct {
- MultipleGraphConfigID string
- EdbInfoIDA string
- EdbInfoIDB string
- Curve string
- Correlation string
- RollingCorrelation string
- SysUserID string
- SysUserRealName string
- ModifyTime string
- CreateTime string
- }{
- MultipleGraphConfigID: "multiple_graph_config_id",
- EdbInfoIDA: "edb_info_id_a",
- EdbInfoIDB: "edb_info_id_b",
- Curve: "curve",
- Correlation: "correlation",
- RollingCorrelation: "rolling_correlation",
- SysUserID: "sys_user_id",
- SysUserRealName: "sys_user_real_name",
- ModifyTime: "modify_time",
- CreateTime: "create_time",
- }
|