# `plat_shop_level3_material`

> 平台商铺3级分类材料表


- **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 | `sLevel3ClassifyId` | `varchar(35)` | NO | MUL |  |  | 3级分类编号 |
| 5 | `sMaterialId` | `varchar(35)` | NO | MUL |  |  | 材料编号 |
| 6 | `sLevel3MaterialId` | `varchar(35)` | NO | UNI |  |  | 3级分类材料编号(P_L3MT开头) |
| 7 | `dCostPrice` | `decimal(18,2)` | NO |  |  |  | 成本价 |
| 8 | `dSellingPrice` | `decimal(18,2)` | NO |  |  |  | 售价 |
| 9 | `dWeight` | `decimal(18,2)` | YES |  |  |  | 材料克重 |
| 10 | `dValuationWeight` | `mediumint` | NO |  |  |  | 计价克重 |
| 11 | `iPartsType` | `tinyint` | NO |  |  |  | 部件类型(0:通用,1:自定义) |
| 12 | `sPartsId` | `varchar(35)` | NO |  |  |  | 部件编号 |
| 13 | `iSort` | `tinyint` | NO |  | 0 |  | 排序 |
| 14 | `iStandard` | `tinyint` | NO |  |  |  | 规格(0:大度,1:正度,2:特规,3:卷筒) |
| 15 | `iLength` | `mediumint` | YES |  |  |  | 长 |
| 16 | `iWide` | `mediumint` | YES |  |  |  | 宽 |
| 17 | `sAttribute` | `mediumint` | YES |  |  |  | 属性 |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `PLAT_SHOP_LEVEL3_MATERIAL_IDX1` |  | BTREE | `sMaterialId` |
| `PLAT_SHOP_LEVEL3_MATERIAL_IDX2` |  | BTREE | `sLevel3ClassifyId` |
| `PLAT_SHOP_LEVEL3_MATERIAL_UNQ1` | ✓ | BTREE | `sLevel3MaterialId` |
| `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._
