# `plat_shop_template_region_relation`

> 平台商铺运费模板区域关系表


- **Engine:** InnoDB
- **Collation:** utf8mb3_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncreaseId` | `int` | NO | PRI |  | auto_increment | 主键(自增序列) |
| 2 | `tCreateTime` | `datetime` | NO |  |  |  | 创建时间 |
| 3 | `sShopUserId` | `varchar(35)` | NO | MUL |  |  | 商铺用户编号 |
| 4 | `sFreightTemplateId` | `varchar(35)` | NO | MUL |  |  | 运费模板编号 |
| 5 | `sTemplateRegionId` | `varchar(35)` | NO | MUL |  |  | 运费模板区域编号 |
| 6 | `iProvinceId` | `mediumint` | NO |  |  |  | 省编码 |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `PLAT_SHOP_TEMPLATE_REGION_RELATION_IDX1` |  | BTREE | `sShopUserId` |
| `PLAT_SHOP_TEMPLATE_REGION_RELATION_IDX2` |  | BTREE | `sFreightTemplateId` |
| `PLAT_SHOP_TEMPLATE_REGION_RELATION_UNQ1` | ✓ | BTREE | `sTemplateRegionId`, `iProvinceId` |
| `PRIMARY` | ✓ | BTREE | `iIncreaseId` |

## Narrative

_No human-written narrative yet — when this table is exercised by a [vertical slice](../../slices/index.md), link from there back to this page._
