Files
PandaX/apps/visual/entity/data_set.go
2023-04-07 17:02:58 +08:00

23 lines
1.0 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package entity
import "github.com/XM-GO/PandaKit/model"
type VisualDataSetGroup struct {
model.BaseModelD
Name string `gorm:"name;type:varchar(64);comment:数据源类型" json:"name"`
Pid string `json:"pid"`
Level int64 `json:"level"`
}
/*type VisualDataSetTable struct {
model.BaseModelD
TableId string `gorm:"name;type:TEXT;comment:表id" json:"tableId"`
DataSourceId string `gorm:"name;type:TEXT;comment:数据圆ID" json:"data_source_Id"`
TableType string `gorm:"name;type:TEXT;comment:db,sql,excel,custom,api" json:"tableType"` //'db,sql,excel,custom',
Mode string `gorm:"name;type:TEXT;comment:原始表信息" json:"mode"` //'连接模式0-直连1-定时同步',
Info string `gorm:"name;type:TEXT;comment:原始表信息" json:"name"`
CreateBy int64 `gorm:"create_by" json:"createBy"` //创建人ID
Columns []DevGenTableColumn `gorm:"-" json:"columns"` //字段信息
}
*/