1.4.5.2
This commit is contained in:
24
EdgeAPI/internal/db/models/node_group_model.go
Normal file
24
EdgeAPI/internal/db/models/node_group_model.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package models
|
||||
|
||||
// 节点分组
|
||||
type NodeGroup struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
Name string `field:"name"` // 名称
|
||||
ClusterId uint32 `field:"clusterId"` // 集群ID
|
||||
Order uint32 `field:"order"` // 排序
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
State uint8 `field:"state"` // 状态
|
||||
}
|
||||
|
||||
type NodeGroupOperator struct {
|
||||
Id interface{} // ID
|
||||
Name interface{} // 名称
|
||||
ClusterId interface{} // 集群ID
|
||||
Order interface{} // 排序
|
||||
CreatedAt interface{} // 创建时间
|
||||
State interface{} // 状态
|
||||
}
|
||||
|
||||
func NewNodeGroupOperator() *NodeGroupOperator {
|
||||
return &NodeGroupOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user