28 lines
944 B
Go
28 lines
944 B
Go
|
|
package models
|
||
|
|
|
||
|
|
import (
|
||
|
|
"time"
|
||
|
|
)
|
||
|
|
|
||
|
|
type DBParticipant struct {
|
||
|
|
Address *string
|
||
|
|
Attributes *string `gorm:"type:json"`
|
||
|
|
ConnectedTime *time.Time `gorm:"index"`
|
||
|
|
ConversationId string `gorm:"foreignKey;index"`
|
||
|
|
EndTime *time.Time `gorm:"index"`
|
||
|
|
ExternalContactId *string
|
||
|
|
ExternalContactInitialDivisionId *string
|
||
|
|
Id string `gorm:"primaryKey;index"`
|
||
|
|
MediaRoles *string `gorm:"type:json"`
|
||
|
|
Name *string `gorm:"index"`
|
||
|
|
Purpose *string `gorm:"index"`
|
||
|
|
QueueId *string
|
||
|
|
Wrapup *string `gorm:"type:json"`
|
||
|
|
WrapupExpected *bool
|
||
|
|
WrapupRequired *bool
|
||
|
|
}
|
||
|
|
|
||
|
|
func (DBParticipant) TableName() string {
|
||
|
|
return "gc_participants"
|
||
|
|
}
|