Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||
| loan_id | int8 | 19 | null |
|
|
|||||||||||||||||||||
| charge_id | int8 | 19 | null |
|
|
|||||||||||||||||||||
| is_penalty | bool | 1 | false |
|
|
|||||||||||||||||||||
| charge_time_enum | int2 | 5 | null |
|
|
|||||||||||||||||||||
| due_for_collection_as_of_date | date | 13 | √ | 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 |
|
|
|||||||||||||||||||||
| external_id | varchar | 100 | √ | null |
|
|
||||||||||||||||||||
| submitted_on_date | date | 13 | √ | null |
|
|
||||||||||||||||||||
| created_on_utc | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||
| last_modified_on_utc | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||
| created_by | int8 | 19 | null |
|
|
|||||||||||||||||||||
| last_modified_by | int8 | 19 | null |
|
|
|||||||||||||||||||||
| tax_amount | numeric | 19,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_loan_charge_pkey | Primary key | Asc | id |
| charge_id | Performance | Asc | charge_id |
| m_loan_charge_external_id_key | Must be unique | Asc | external_id |
| m_loan_charge_ibfk_2 | Performance | Asc | loan_id |



