mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
25 lines
668 B
Go
25 lines
668 B
Go
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{}
|
|
}
|