Officially documented release

This commit is contained in:
2025-11-10 10:10:46 +11:00
parent 1bb7661f94
commit 4c58351635
23 changed files with 282 additions and 214 deletions

View File

@@ -4,6 +4,16 @@ import (
"time"
)
// CrmClient is a model that stores Client/Account records from CRM.
//
// - The intention of the model is to map JSON -> struct -> JSON
// - To improve usability, GORM 'column' tags have been used to map CRM API names into more descriptive names.
//
// Table Schema:
//
// Primary Key: ID
// Indexes: ID
// JSON Fields: Attributes, MediaRoles, Wrapup
type CrmClient struct {
ID int `gorm:"primaryKey;column:id" json:"id"`
BillingGroupNumber *int `gorm:"column:billing_group_number" json:"billing_group_number"`