# `plat_shop_material`

> 平台商铺材料表


- **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 | `tModifyTime` | `datetime` | NO |  |  |  | 修改时间 |
| 4 | `sShopUserId` | `varchar(35)` | NO | MUL |  |  | 店铺用户编号 |
| 5 | `sMaterialId` | `varchar(35)` | NO | UNI |  |  | 商铺材料编号(P_MTL) |
| 6 | `sMaterialName` | `varchar(50)` | NO |  |  |  | 材料名称 |
| 7 | `iMaterialFeatures` | `tinyint` | NO |  |  |  | 特性(0:不能自翻或天地翻,1:可以自翻或天地翻) |
| 8 | `iValuationUnit` | `tinyint` | NO |  |  |  | 计价单位(0:按张计价,1:按平方计价,2:按吨计价) |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `PLAT_SHOP_MATERIAL_IDX1` |  | BTREE | `sShopUserId` |
| `PLAT_SHOP_MATERIAL_UNQ1` | ✓ | BTREE | `sMaterialId` |
| `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._
