Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
|||||
| client_id | int8 | 19 | null |
|
|
||||||
| charge_id | int8 | 19 | null |
|
|
||||||
| is_penalty | bool | 1 | null |
|
|
||||||
| charge_time_enum | int2 | 5 | null |
|
|
||||||
| charge_due_date | date | 13 | √ | null |
|
|
|||||
| charge_calculation_enum | int2 | 5 | null |
|
|
||||||
| 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 | null |
|
|
||||||
| is_paid_derived | bool | 1 | √ | null |
|
|
|||||
| waived | bool | 1 | √ | null |
|
|
|||||
| is_active | bool | 1 | √ | null |
|
|
|||||
| inactivated_on_date | date | 13 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_client_charge_pkey | Primary key | Asc | id |
| FK_m_client_charge_m_charge | Performance | Asc | charge_id |
| FK_m_client_charge_m_client | Performance | Asc | client_id |

