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

@@ -1,5 +1,14 @@
package models
// CrmPaymentConfig is a model that stores Payment Configuration 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
type CrmPaymentConfig struct {
ID string `gorm:"primaryKey;column:id" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`