2020-07-22 22:17:53 +08:00
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
// 节点集群
|
|
|
|
|
type NodeCluster struct {
|
2020-08-30 16:12:00 +08:00
|
|
|
Id uint32 `field:"id"` // ID
|
|
|
|
|
Name string `field:"name"` // 名称
|
|
|
|
|
InstallDir string `field:"installDir"` // 安装目录
|
|
|
|
|
GrantId uint32 `field:"grantId"` // 默认认证方式
|
|
|
|
|
Order uint32 `field:"order"` // 排序
|
|
|
|
|
CreatedAt uint32 `field:"createdAt"` // 创建时间
|
|
|
|
|
State uint8 `field:"state"` // 状态
|
2020-07-22 22:17:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type NodeClusterOperator struct {
|
2020-08-30 16:12:00 +08:00
|
|
|
Id interface{} // ID
|
|
|
|
|
Name interface{} // 名称
|
|
|
|
|
InstallDir interface{} // 安装目录
|
|
|
|
|
GrantId interface{} // 默认认证方式
|
|
|
|
|
Order interface{} // 排序
|
|
|
|
|
CreatedAt interface{} // 创建时间
|
|
|
|
|
State interface{} // 状态
|
2020-07-22 22:17:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewNodeClusterOperator() *NodeClusterOperator {
|
|
|
|
|
return &NodeClusterOperator{}
|
|
|
|
|
}
|