mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-05 06:55:48 +08:00
节点IP增加是否启用、是否在线状态
This commit is contained in:
24
internal/db/models/node_ip_address_log_model.go
Normal file
24
internal/db/models/node_ip_address_log_model.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package models
|
||||
|
||||
// NodeIPAddressLog IP状态变更日志
|
||||
type NodeIPAddressLog struct {
|
||||
Id uint64 `field:"id"` // ID
|
||||
AddressId uint64 `field:"addressId"` // 地址ID
|
||||
AdminId uint32 `field:"adminId"` // 管理员ID
|
||||
Description string `field:"description"` // 描述
|
||||
CreatedAt uint64 `field:"createdAt"` // 操作时间
|
||||
Day string `field:"day"` // YYYYMMDD,用来清理
|
||||
}
|
||||
|
||||
type NodeIPAddressLogOperator struct {
|
||||
Id interface{} // ID
|
||||
AddressId interface{} // 地址ID
|
||||
AdminId interface{} // 管理员ID
|
||||
Description interface{} // 描述
|
||||
CreatedAt interface{} // 操作时间
|
||||
Day interface{} // YYYYMMDD,用来清理
|
||||
}
|
||||
|
||||
func NewNodeIPAddressLogOperator() *NodeIPAddressLogOperator {
|
||||
return &NodeIPAddressLogOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user