Initial commit

This commit is contained in:
2025-06-16 17:49:27 +10:00
commit 34beb51c2c
7 changed files with 164 additions and 0 deletions

31
models/conversation.go Normal file
View File

@@ -0,0 +1,31 @@
package models
import (
"time"
"gorm.io/gorm"
)
type DBConversation struct {
gorm.Model
Address *string
DivisionIds *string `gorm:"type:json"`
End *time.Time `gorm:"index"`
ExternalTag *string
Id string `gorm:"primaryKey;index"`
MinMos *float32
MinRFactor *float32
OriginatingDirection *string
RecentTransfers *string `gorm:"type:json"`
RecordingState *string
SecurePause *bool
Start *time.Time `gorm:"index"`
UtilizationLabelId *string
LiveUpdate *time.Time
SemiLiveUpdate *time.Time
JobUpdate *time.Time
}
func (DBConversation) TableName() string {
return "gc_conversations"
}