# payee_kyc_notification_history

## Description

<details>
<summary><strong>Table Definition</strong></summary>

```sql
CREATE TABLE `payee_kyc_notification_history` (
  `payee_kyc_notification_history_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `payee_kyc_notification_id` mediumint unsigned NOT NULL,
  `payee_id` mediumint unsigned NOT NULL,
  `file_upload_link` varchar(1000) NOT NULL,
  `requirement_id` varchar(1000) DEFAULT NULL,
  `requirement_type_id` mediumint unsigned DEFAULT NULL,
  `sub_requirement_id` varchar(1000) DEFAULT NULL,
  `possible_sub_requirement_types` varchar(1000) DEFAULT NULL,
  `sub_requirement_status_id` tinyint DEFAULT NULL,
  `entity_reference_id` varchar(36) DEFAULT NULL,
  `entity_reference_type_id` tinyint DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `created_by` varchar(255) NOT NULL,
  `last_modified` datetime NOT NULL,
  `last_modified_by` varchar(255) NOT NULL,
  `deleted_at` datetime DEFAULT NULL,
  `deleted_by` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`payee_kyc_notification_history_id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
```

</details>

## Columns

| Name                              | Type               | Default | Nullable | Extra Definition | Children | Parents                                             | Comment |
| --------------------------------- | ------------------ | ------- | -------- | ---------------- | -------- | --------------------------------------------------- | ------- |
| created_at                        | datetime           |         | false    |                  |          |                                                     |         |
| created_by                        | varchar(255)       |         | false    |                  |          |                                                     |         |
| deleted_at                        | datetime           |         | true     |                  |          |                                                     |         |
| deleted_by                        | varchar(255)       |         | true     |                  |          |                                                     |         |
| entity_reference_id               | varchar(36)        |         | true     |                  |          |                                                     |         |
| entity_reference_type_id          | tinyint            |         | true     |                  |          |                                                     |         |
| file_upload_link                  | varchar(1000)      |         | false    |                  |          |                                                     |         |
| last_modified                     | datetime           |         | false    |                  |          |                                                     |         |
| last_modified_by                  | varchar(255)       |         | false    |                  |          |                                                     |         |
| payee_id                          | mediumint unsigned |         | false    |                  |          | [payee](payee.md)                                   |         |
| payee_kyc_notification_history_id | mediumint unsigned |         | false    | auto_increment   |          |                                                     |         |
| payee_kyc_notification_id         | mediumint unsigned |         | false    |                  |          | [payee_kyc_notification](payee_kyc_notification.md) |         |
| possible_sub_requirement_types    | varchar(1000)      |         | true     |                  |          |                                                     |         |
| requirement_id                    | varchar(1000)      |         | true     |                  |          |                                                     |         |
| requirement_type_id               | mediumint unsigned |         | true     |                  |          |                                                     |         |
| sub_requirement_id                | varchar(1000)      |         | true     |                  |          |                                                     |         |
| sub_requirement_status_id         | tinyint            |         | true     |                  |          |                                                     |         |

## Constraints

| Name    | Type        | Definition                                      |
| ------- | ----------- | ----------------------------------------------- |
| PRIMARY | PRIMARY KEY | PRIMARY KEY (payee_kyc_notification_history_id) |

## Indexes

| Name    | Definition                                                  |
| ------- | ----------------------------------------------------------- |
| PRIMARY | PRIMARY KEY (payee_kyc_notification_history_id) USING BTREE |

## Relations

![er](payee_kyc_notification_history.svg)

---

> Generated by [tbls](https://github.com/k1LoW/tbls)
