# account_payment_term_template

## Description

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

```sql
CREATE TABLE `account_payment_term_template` (
  `account_payment_term_template_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `template_name` varchar(180) COLLATE utf8mb4_general_ci NOT NULL,
  `currency_code` varchar(3) COLLATE utf8mb4_general_ci NOT NULL,
  `payment_terms` json NOT NULL,
  PRIMARY KEY (`account_payment_term_template_id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci
```

</details>

## Columns

| Name                             | Type               | Default | Nullable | Extra Definition | Children | Parents | Comment |
| -------------------------------- | ------------------ | ------- | -------- | ---------------- | -------- | ------- | ------- |
| account_payment_term_template_id | mediumint unsigned |         | false    | auto_increment   |          |         |         |
| currency_code                    | varchar(3)         |         | false    |                  |          |         |         |
| payment_terms                    | json               |         | false    |                  |          |         |         |
| template_name                    | varchar(180)       |         | false    |                  |          |         |         |

## Constraints

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

## Indexes

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

## Relations

![er](account_payment_term_template.svg)

---

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