Officially documented release
This commit is contained in:
@@ -2,6 +2,15 @@ package models
|
||||
|
||||
import ()
|
||||
|
||||
// CrmInvoiceConfig is a model that stores Invoice 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 CrmInvoiceConfig struct {
|
||||
ID string `gorm:"primaryKey;column:id" json:"id"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
|
||||
Reference in New Issue
Block a user