ref: v3变更,,api路由调整,菜单角色分配
This commit is contained in:
18
src/modules/ne_data_nf/model/ue_event.go
Normal file
18
src/modules/ne_data_nf/model/ue_event.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
// UEEvent UE会话对象 ue_event
|
||||
type UEEvent struct {
|
||||
ID int64 `json:"id" gorm:"column:id;primaryKey;autoIncrement"`
|
||||
CoreUID string `json:"coreUid" gorm:"column:core_uid"` // 核心网唯一标识
|
||||
NeUID string `json:"neUid" gorm:"column:ne_uid"` // 网元唯一标识
|
||||
NeType string `json:"neType" gorm:"column:ne_type"` // 网元类型
|
||||
Timestamp int64 `json:"timestamp" gorm:"column:timestamp"` // 接收到时间
|
||||
EventType string `json:"eventType" gorm:"column:event_type"` // 事件类型
|
||||
EventJSONStr string `json:"eventJSON" gorm:"column:event_json"` // data JSON String
|
||||
CreatedAt int64 `json:"createdAt" gorm:"column:created_at"` // 记录创建存储毫秒
|
||||
}
|
||||
|
||||
// TableName 表名称
|
||||
func (*UEEvent) TableName() string {
|
||||
return "ue_event"
|
||||
}
|
||||
Reference in New Issue
Block a user