Temporarily added interpreter_attempt
This commit is contained in:
parent
4b75eccdcd
commit
d8e83b8e75
23
models/interpreter_attempt.go
Normal file
23
models/interpreter_attempt.go
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
package models
|
||||||
|
|
||||||
|
import (
|
||||||
|
"time"
|
||||||
|
)
|
||||||
|
|
||||||
|
type InterpreterAttempt struct {
|
||||||
|
InterpreterConversationId string `gorm:"primaryKey;index"`
|
||||||
|
InterpreterResponseTime time.Time
|
||||||
|
InterpreterAccepted bool
|
||||||
|
InterpreterId int `gorm:"index"`
|
||||||
|
CallType string
|
||||||
|
CallConnected string
|
||||||
|
ClientConversationId string `gorm:"index"`
|
||||||
|
LanguageId int
|
||||||
|
InterpreterPhone string
|
||||||
|
ConversationStart time.Time
|
||||||
|
ConversationEnd time.Time
|
||||||
|
}
|
||||||
|
|
||||||
|
func (InterpreterAttempt) TableName() string {
|
||||||
|
return "gc_interpreter_attempts"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user