29 lines
692 B
Go
29 lines
692 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BaseCall struct {
|
|
ClientConversationId string `gorm:"primaryKey;index"`
|
|
CallType string `gorm:"index"`
|
|
GenderPreference string
|
|
ClientId int `gorm:"index"`
|
|
LanguageId int
|
|
CustomerDnis string
|
|
CustomerAni string
|
|
SearchStartTime *time.Time
|
|
P1ConnectTime time.Time `gorm:"index"`
|
|
P1DisconnectTime time.Time `gorm:"index"`
|
|
P3ConnectTime *time.Time
|
|
P3DisconnectTime *time.Time
|
|
BookingRequestNumber *int `gorm:"index"`
|
|
IvrData *int
|
|
UtsEntries int
|
|
InterpreterCount int
|
|
}
|
|
|
|
func (BaseCall) TableName() string {
|
|
return "gc_base_calls"
|
|
}
|