Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null |
|
|
||||||||||||||||||||
| name | VARCHAR | 100 | √ | NULL |
|
|
||||||||||||||||||||
| currency_code | VARCHAR | 3 | null |
|
|
|||||||||||||||||||||
| charge_applies_to_enum | SMALLINT | 5 | null |
|
|
|||||||||||||||||||||
| charge_time_enum | SMALLINT | 5 | null |
|
|
|||||||||||||||||||||
| charge_calculation_enum | SMALLINT | 5 | null |
|
|
|||||||||||||||||||||
| charge_payment_mode_enum | SMALLINT | 5 | √ | NULL |
|
|
||||||||||||||||||||
| amount | DECIMAL | 19,6 | null |
|
|
|||||||||||||||||||||
| fee_on_day | SMALLINT | 5 | √ | NULL |
|
|
||||||||||||||||||||
| fee_interval | SMALLINT | 5 | √ | NULL |
|
|
||||||||||||||||||||
| fee_on_month | SMALLINT | 5 | √ | NULL |
|
|
||||||||||||||||||||
| is_penalty | BIT | 1 | b'0' |
|
|
|||||||||||||||||||||
| is_active | BIT | 1 | null |
|
|
|||||||||||||||||||||
| is_deleted | BIT | 1 | b'0' |
|
|
|||||||||||||||||||||
| min_cap | DECIMAL | 19,6 | √ | NULL |
|
|
||||||||||||||||||||
| max_cap | DECIMAL | 19,6 | √ | NULL |
|
|
||||||||||||||||||||
| fee_frequency | SMALLINT | 5 | √ | NULL |
|
|
||||||||||||||||||||
| is_free_withdrawal | BIT | 1 | b'0' |
|
|
|||||||||||||||||||||
| free_withdrawal_charge_frequency | INT | 10 | √ | 0 |
|
|
||||||||||||||||||||
| restart_frequency | INT | 10 | √ | 0 |
|
|
||||||||||||||||||||
| restart_frequency_enum | INT | 10 | √ | 0 |
|
|
||||||||||||||||||||
| is_payment_type | BIT | 1 | √ | b'0' |
|
|
||||||||||||||||||||
| payment_type_id | INT | 10 | √ | NULL |
|
|
||||||||||||||||||||
| income_or_liability_account_id | BIGINT | 19 | √ | NULL |
|
|
||||||||||||||||||||
| tax_group_id | BIGINT | 19 | √ | NULL |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK_m_charge_acc_gl_account | Performance | Asc | income_or_liability_account_id |
| FK_m_charge_m_tax_group | Performance | Asc | tax_group_id |
| FK_m_payment_detail_m_payment_types | Performance | Asc | payment_type_id |
| name | Must be unique | Asc | name |