ref: v3变更,,网元关联核心网
This commit is contained in:
@@ -8,7 +8,7 @@ type NeInfo struct {
|
||||
UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者
|
||||
UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间
|
||||
Remark string `json:"remark" gorm:"column:remark"` // 备注
|
||||
CoreId int64 `json:"coreId" gorm:"column:core_id"` // 核心网ID 1为全局默认
|
||||
CoreId int64 `json:"coreId" gorm:"column:core_id"` // 核心网ID 0为默认
|
||||
NeUid string `json:"neUid" gorm:"column:ne_uid"` // 网元唯一标识
|
||||
NeType string `json:"neType" gorm:"column:ne_type" binding:"required"` // 网元类型
|
||||
NeName string `json:"neName" gorm:"column:ne_name"` // 网元名称
|
||||
@@ -30,6 +30,8 @@ type NeInfo struct {
|
||||
|
||||
// ====== 非数据库字段属性 ======
|
||||
|
||||
CoreUid string `json:"coreUid,omitempty" gorm:"->"` // 核心网唯一标识
|
||||
CoreName string `json:"coreName,omitempty" gorm:"->"` // 核心网名称
|
||||
ServerState map[string]any `json:"serverState,omitempty" gorm:"-"` // 服务状态
|
||||
Hosts []NeHost `json:"hosts,omitempty" gorm:"-"` // 主机对象组
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user