Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| loan_id | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| office_id | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| payment_detail_id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| is_reversed | bool | 1 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| external_id | varchar | 100 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| transaction_type_enum | int2 | 5 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| transaction_date | date | 13 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| amount | numeric | 19,6 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| principal_portion_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| interest_portion_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| fee_charges_portion_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| penalty_charges_portion_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| overpayment_portion_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| unrecognized_income_portion | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| outstanding_loan_balance_derived | numeric | 19,6 | √ | NULL::numeric |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| submitted_on_date | date | 13 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| manually_adjusted_or_reversed | bool | 1 | √ | false |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| created_date | timestamp | 29,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| created_by | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| last_modified_by | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| created_on_utc | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| last_modified_on_utc | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| charge_refund_charge_type | varchar | 1 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| reversal_external_id | varchar | 100 | √ | NULL::character varying |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| reversed_on_date | date | 13 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||||||||
| version | int8 | 19 | 1 |
|
|
|||||||||||||||||||||||||||||||||||||||||||||
| classification_cv_id | int8 | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| m_loan_transaction_pkey | Primary key | Asc | id |
| FK_m_loan_transaction_m_office | Performance | Asc | office_id |
| FK_m_loan_transaction_m_payment_detail | Performance | Asc | payment_detail_id |
| fkcfcea42640be0710 | Performance | Asc | loan_id |
| m_loan_transaction_external_id_key | Must be unique | Asc | external_id |
| unique_reversal_external_id_loan_transaction | Must be unique | Asc | reversal_external_id |



