Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
|||||
| account_id | int8 | 19 | null |
|
|
||||||
| charge_id | int8 | 19 | null |
|
|
||||||
| charge_time_enum | int2 | 5 | null |
|
|
||||||
| charge_calculation_enum | int2 | 5 | null |
|
|
||||||
| charge_payment_mode_enum | int2 | 5 | 0 |
|
|
||||||
| calculation_percentage | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| calculation_on_amount | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| charge_amount_or_percentage | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| amount | numeric | 19,6 | null |
|
|
||||||
| amount_paid_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| amount_waived_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| amount_writtenoff_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| amount_outstanding_derived | numeric | 19,6 | 0 |
|
|
||||||
| is_paid_derived | bool | 1 | false |
|
|
||||||
| waived | bool | 1 | false |
|
|
||||||
| min_cap | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| max_cap | numeric | 19,6 | √ | NULL::numeric |
|
|
|||||
| is_active | bool | 1 | true |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_share_account_charge_pkey | Primary key | Asc | id |
| fk_share_account_charge_charge | Performance | Asc | charge_id |
| m_share_account_charge_ibfk_2 | Performance | Asc | account_id |

