Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | VARCHAR | 64 | null |
|
|
Identifies a balance type |
|||||||||||||||||||||||||||||||||||
| KIND | VARCHAR | 32 | √ | null |
|
|
Holds the type of balance holder (possible values: ACCOUNT, ACCOUNT_GROUP, MONITORING, and VIRTUAL) |
||||||||||||||||||||||||||||||||||
| CURRENCY | CHAR | 3 | null |
|
|
Identifies the currency associated with the balance type |
|||||||||||||||||||||||||||||||||||
| CREATED_AT | DATETIME | 26 | CURRENT_TIMESTAMP(6) |
|
|
When the balance type was created within the digital twin |
|||||||||||||||||||||||||||||||||||
| UPDATED_AT | DATETIME | 26 | CURRENT_TIMESTAMP(6) |
|
|
When the balance type was lastly updated |
|||||||||||||||||||||||||||||||||||
| DEFAULT_MINIMUM_AMOUNT | DECIMAL | 19 | √ | null |
|
|
Holds the default minimum value of underlying physical balance |
||||||||||||||||||||||||||||||||||
| DEFAULT_MAXIMUM_AMOUNT | DECIMAL | 19 | √ | null |
|
|
Holds the default maximum value of underlying physical balance |
||||||||||||||||||||||||||||||||||
| NORMALIZER | VARCHAR | 32 | null |
|
|
The account group type associated with the underlying physical balance. Only used when the balance type is ‘ACCOUNT_GROUP’ |
|||||||||||||||||||||||||||||||||||
| REFRESH | VARCHAR | 16 | NEVER |
|
|
A spring-based cron expression denoting the time on which the underlying balance will be refresh. NEVER should be used if the particular balance do not refresh |
|||||||||||||||||||||||||||||||||||
| DELEGATE | VARCHAR | 256 | √ | null |
|
|
Holds the FQN of this particular balance delegate. Only available for virtual balances |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | ID |

