增加节点IP地址管理等功能

This commit is contained in:
刘祥超
2020-08-30 16:12:00 +08:00
parent 844503dcb8
commit 5c17caa416
25 changed files with 3945 additions and 311 deletions

View File

@@ -0,0 +1,26 @@
package models
//
type NodeIPAddress struct {
Id uint32 `field:"id"` // ID
NodeId uint32 `field:"nodeId"` // 节点ID
Name string `field:"name"` // 名称
IP string `field:"ip"` // IP地址
Description string `field:"description"` // 描述
State uint8 `field:"state"` // 状态
Order uint32 `field:"order"` // 排序
}
type NodeIPAddressOperator struct {
Id interface{} // ID
NodeId interface{} // 节点ID
Name interface{} // 名称
IP interface{} // IP地址
Description interface{} // 描述
State interface{} // 状态
Order interface{} // 排序
}
func NewNodeIPAddressOperator() *NodeIPAddressOperator {
return &NodeIPAddressOperator{}
}