规则链

This commit is contained in:
XM-GO
2023-04-07 17:02:58 +08:00
parent adc96f4176
commit 282668c0f9
33 changed files with 403 additions and 104 deletions

View File

@@ -0,0 +1,22 @@
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"` //字段信息
}
*/