# reference_mechanical_rate

## Description

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

```sql
CREATE TABLE `reference_mechanical_rate` (
  `reference_mechanical_rate_id` mediumint unsigned NOT NULL AUTO_INCREMENT,
  `country_code` char(3) COLLATE utf8mb4_general_ci NOT NULL,
  `base_rate` decimal(10,4) NOT NULL,
  `minute_rate` decimal(10,4) NOT NULL,
  `ringtone_rate` decimal(10,4) NOT NULL,
  `effective_start_date` datetime NOT NULL,
  `created_by` varchar(180) COLLATE utf8mb4_general_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `last_modified_by` varchar(180) COLLATE utf8mb4_general_ci NOT NULL,
  `last_modified` datetime NOT NULL,
  PRIMARY KEY (`reference_mechanical_rate_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 |
| ---------------------------- | ------------------ | ------- | -------- | ---------------- | -------- | ------- | ------- |
| base_rate                    | decimal(10,4)      |         | false    |                  |          |         |         |
| country_code                 | char(3)            |         | false    |                  |          |         |         |
| created_at                   | datetime           |         | false    |                  |          |         |         |
| created_by                   | varchar(180)       |         | false    |                  |          |         |         |
| effective_start_date         | datetime           |         | false    |                  |          |         |         |
| last_modified                | datetime           |         | false    |                  |          |         |         |
| last_modified_by             | varchar(180)       |         | false    |                  |          |         |         |
| minute_rate                  | decimal(10,4)      |         | false    |                  |          |         |         |
| reference_mechanical_rate_id | mediumint unsigned |         | false    | auto_increment   |          |         |         |
| ringtone_rate                | decimal(10,4)      |         | false    |                  |          |         |         |

## Constraints

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

## Indexes

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

## Relations

![er](reference_mechanical_rate.svg)

---

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