26 lines
1.4 KiB
Go
26 lines
1.4 KiB
Go
package mf_calling
|
|
|
|
// @Description VoLTE用户信息
|
|
type MfCallingInfo struct {
|
|
AnsweredTime string `json:"answeredTime" gorm:"column:answered_time"` // 接听时间
|
|
BLegUuid string `json:"bLegUuid" gorm:"column:b_leg_uuid"` // BLeg UUID
|
|
CallDuration string `json:"callDuration" gorm:"column:call_duration"` // 通话时长
|
|
CallState string `json:"callState" gorm:"column:call_state"` // 通话状态
|
|
CalleeIdName string `json:"calleeIdName" gorm:"column:callee_id_name"` // 被叫用户名称
|
|
CalleeIdNumber string `json:"calleeIdNumber" gorm:"column:callee_id_number"` // 被叫用户电话号码
|
|
CallerIdName string `json:"callerIdName" gorm:"column:caller_id_name"` // 主叫用户名称
|
|
CallerIdNumber string `json:"callerIdNumber" gorm:"column:caller_id_number"` // 主叫用户电话号码
|
|
CreatedTime string `json:"createdTime" gorm:"column:created_time"` // 创建时间
|
|
Direction string `json:"direction" gorm:"column:direction"` // 通话方向
|
|
Uuid string `json:"uuid" gorm:"column:uuid"` // uuid
|
|
MsdData string `json:"msdData" gorm:"column:msd_data"` // MSD数据
|
|
|
|
TenantID string `json:"tenantID" gorm:"column:tenant_id"`
|
|
TenantName string `json:"tenantName" gorm:"-"`
|
|
}
|
|
|
|
// TableName 表名称
|
|
func (*MfCallingInfo) TableName() string {
|
|
return "mf_calling_info"
|
|
}
|