19 lines
845 B
Go
19 lines
845 B
Go
package model
|
|
|
|
// UDMAuthUser UDM鉴权用户 u_auth_user
|
|
type UDMAuthUser struct {
|
|
ID string `json:"id" gorm:"column:id;primaryKey;autoIncrement"` // 默认ID
|
|
IMSI string `json:"imsi" gorm:"column:imsi"` // SIM卡/USIM卡ID
|
|
NeId string `json:"neId" gorm:"column:ne_id"` // UDM网元标识
|
|
Amf string `json:"amf" gorm:"column:amf"` // AMF
|
|
Status string `json:"status" gorm:"column:status"` // 状态
|
|
Ki string `json:"ki" gorm:"column:ki"` // ki
|
|
AlgoIndex string `json:"algoIndex" gorm:"column:algo_index"` // algoIndex
|
|
Opc string `json:"opc" gorm:"column:opc"` // OPC
|
|
}
|
|
|
|
// TableName 表名称
|
|
func (*UDMAuthUser) TableName() string {
|
|
return "u_auth_user"
|
|
}
|