ref: v3变更,,表结构变更coreId/neId
This commit is contained in:
@@ -2,14 +2,12 @@ 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"` // 记录创建存储毫秒
|
||||
ID int64 `json:"id" gorm:"column:id;primaryKey;autoIncrement"`
|
||||
NeID int64 `json:"neId" gorm:"column:ne_id" binding:"required"` // 网元ID
|
||||
CreatedTime int64 `json:"createdTime" gorm:"column:created_time"` // 记录创建存储毫秒
|
||||
RecordTime int64 `json:"recordTime" gorm:"column:record_time"` // 记录时间
|
||||
EventType string `json:"eventType" gorm:"column:event_type"` // 事件类型
|
||||
EventJson string `json:"eventJson" gorm:"column:event_json"` // data JSON String
|
||||
}
|
||||
|
||||
// TableName 表名称
|
||||
|
||||
Reference in New Issue
Block a user