package edb_source type EdbSource struct { EdbSourceId int `gorm:"column:edb_source_id;primary_key;AUTO_INCREMENT;NOT NULL;comment:'指标来源ID'"` SourceName string `gorm:"column:source_name;default:;NOT NULL;comment:'指标来源名称'"` TbName string `gorm:"column:table_name;default:;NOT NULL;comment:'数据表名'"` EdbAddMethod string `gorm:"column:edb_add_method;default:;NOT NULL;comment:'指标新增接口'"` EdbRefreshMethod string `gorm:"column:edb_refresh_method;default:;NOT NULL;comment:'指标刷新接口'"` IsBase uint8 `gorm:"column:is_base;default:0;NOT NULL;comment:'是否为基础指标:2-否;1-是'"` FromBridge int8 `gorm:"column:from_bridge;default:0;NOT NULL;comment:'是否来源于桥接服务:0-否;1-是'"` BridgeFlag string `gorm:"column:bridge_flag;default:;NOT NULL;comment:'桥接服务对象标识'"` SourceExtend string `gorm:"column:source_extend;default:;NOT NULL;comment:'扩展字段做查询用, 如嘉悦的wind对应wind、wind_stop'"` EdbCodeRequired int8 `gorm:"column:edb_code_required;default:0;NOT NULL;comment:'指标编码是否必填: 0-否; 1-是'"` IndexTableName string `gorm:"column:index_table_name;default:;NOT NULL;comment:'源指标表名'"` } func (e *EdbSource) TableName() string { return "edb_source" }