Officially documented release
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user