23 lines
558 B
Go
23 lines
558 B
Go
|
|
package models
|
||
|
|
|
||
|
|
import (
|
||
|
|
"time"
|
||
|
|
)
|
||
|
|
|
||
|
|
type InterpreterConnection struct {
|
||
|
|
InterpreterConversationId string `gorm:"primaryKey;index"`
|
||
|
|
InterpreterAccepted bool
|
||
|
|
InterpreterId int `gorm:"index"`
|
||
|
|
CallType string
|
||
|
|
CallConnected string
|
||
|
|
ClientConversationId string `gorm:"index"`
|
||
|
|
LanguageId int
|
||
|
|
InterpreterPhone string
|
||
|
|
ConferenceStart time.Time
|
||
|
|
ConferenceEnd time.Time
|
||
|
|
}
|
||
|
|
|
||
|
|
func (InterpreterConnection) TableName() string {
|
||
|
|
return "gc_interpreter_connections"
|
||
|
|
}
|