# `elesemigoodsstock`


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

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |  | 0 |  | 自增列 |
| 2 | `sId` | `varchar(100)` | NO |  |  |  | 标准ID |
| 3 | `sBrandsId` | `varchar(50)` | NO |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(50)` | NO |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 6 | `sMakePerson` | `varchar(255)` | NO |  |  |  | 制单人 |
| 7 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 8 | `sCustomerId` | `varchar(100)` | NO |  |  |  | 客户Id |
| 9 | `sProductId` | `varchar(100)` | NO |  |  |  | 产品ID |
| 10 | `sDefineNo` | `varchar(100)` | NO |  |  |  | 自定义项 |
| 11 | `sDefineNo2` | `varchar(100)` | NO |  |  |  | 自定义项2 |
| 12 | `sWarehouseId` | `varchar(100)` | NO |  |  |  | 仓库ID |
| 13 | `sLocationId` | `varchar(100)` | NO |  |  |  | 库区ID |
| 14 | `sWarehouseLocationId` | `varchar(100)` | NO |  |  |  | 库位ID |
| 15 | `dProcessQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 库存数量 |
| 16 | `tInventoryDate` | `datetime` | NO |  | 2000-01-01 00:00:00 |  | 盘点日期 |
| 17 | `sFormId` | `varchar(100)` | NO |  |  |  | 界面Id |
| 18 | `dMinStock` | `decimal(18,6)` | NO |  | 0.000000 |  | 最小库存 |
| 19 | `dMaxStock` | `decimal(18,6)` | NO |  | 0.000000 |  | 最大库存 |
| 20 | `dCostMoney` | `decimal(18,6)` | YES |  |  |  | 成本金额 |
| 21 | `dCostPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 22 | `sPartsName` | `varchar(100)` | NO |  |  |  | 部件名称 |
| 23 | `dSinglePQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 拼版数 |
| 24 | `sProcessId` | `varchar(100)` | NO |  |  |  | 工序ID |
| 25 | `sVer` | `varchar(100)` | NO |  |  |  | 版本号 |

## 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._
