fix: 网元信息新增更新同步操作版本和授权信息
This commit is contained in:
@@ -10,13 +10,14 @@ type NeInfo struct {
|
||||
IP string `json:"ip" binding:"required"`
|
||||
Port int64 `json:"port" binding:"required,number,max=65535,min=1"`
|
||||
PvFlag string `json:"pvFlag" binding:"oneof=PNF VNF"` // enum('PNF','VNF')
|
||||
Province string `json:"province"`
|
||||
Province string `json:"province"` // 省份地域
|
||||
VendorName string `json:"vendorName"`
|
||||
Dn string `json:"dn"`
|
||||
NeAddress string `json:"neAddress"`
|
||||
Status string `json:"status"` // 0: 在线 1: 下线 2: 备用 3: 待下发配置
|
||||
UpdateTime string `json:"updateTime"`
|
||||
HostIDs string `json:"hostIds"` // 网元主机ID组 数据格式(ssh,telnet,telnet)
|
||||
NeAddress string `json:"neAddress"` // MAC地址
|
||||
Status string `json:"status"` // 0离线 1在线 2配置待下发
|
||||
UpdateBy string `json:"updateBy"` // 更新者
|
||||
UpdateTime string `json:"updateTime"` // 更新时间
|
||||
HostIDs string `json:"hostIds"` // 网元主机ID组 数据格式(ssh,telnet,telnet)
|
||||
|
||||
// ====== 非数据库字段属性 ======
|
||||
|
||||
|
||||
Reference in New Issue
Block a user