mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-27 15:46:35 +08:00
增加批量增加节点IP接口
This commit is contained in:
18
internal/db/models/node_ip_address_group_model.go
Normal file
18
internal/db/models/node_ip_address_group_model.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
// NodeIPAddressGroup IP地址分组
|
||||
type NodeIPAddressGroup struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
Name string `field:"name"` // 分组名
|
||||
Value string `field:"value"` // IP值
|
||||
}
|
||||
|
||||
type NodeIPAddressGroupOperator struct {
|
||||
Id interface{} // ID
|
||||
Name interface{} // 分组名
|
||||
Value interface{} // IP值
|
||||
}
|
||||
|
||||
func NewNodeIPAddressGroupOperator() *NodeIPAddressGroupOperator {
|
||||
return &NodeIPAddressGroupOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user