sql.go 912 字节
Newer Older
E
eoLinker API Management 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
package entity

type Table struct {
	TableName   string   `json:"tableName"`
	TableColumn []string `json:"tableColumn"`
}

type TableData struct {
	Data []map[string]interface{}
}

type ColumnInfo struct {
	FieldName string
	Type      interface{}
	Null      interface{}
	Key       interface{}
	Default   interface{}
	Extra     interface{}
}

type GokuAdmin struct {
	UserID        int    `json:"userID"`
	LoginCall     string `json:"loginCall"`
	LoginPassword string `json:"loginPassword"`
	UserType      int    `json:"userType"`
}

type GokuBalance struct {
	BalanceID     int    `json:"balanceID"`
	BalanceName   string `json:"balanceName"`
	BalanceConfig string `json:"balanceConfig"`
	CreateTime    string `json:"createTime"`
	UpdateTime    string `json:"updateTime"`
}

type GokuConnPluginApi struct {
	ConnID int `json:"connID"`
	ApiID  int `json:"apiID"`
}

type ColumnValue struct {
	Value interface{}
}