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