# `sgdsemigoodscheckmaster`


- **Engine:** InnoDB
- **Collation:** utf8mb4_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |  | 0 |  | 自增列 |
| 2 | `sId` | `varchar(100)` | NO |  |  |  | 标准Id |
| 3 | `sBrandsId` | `varchar(100)` | NO |  |  |  | 加工商Id |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 6 | `sMakePerson` | `varchar(255)` | NO |  |  |  | 制单人 |
| 7 | `sFormId` | `varchar(100)` | NO |  |  |  | 窗体ID |
| 8 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 9 | `sBillNo` | `varchar(255)` | NO |  |  |  | 单据号 |
| 10 | `sMemo` | `text` | YES |  |  |  | 备注 |
| 11 | `bCheck` | `bit(1)` | NO |  | b'0' |  | 是否审核 |
| 12 | `tCheckDate` | `datetime` | YES |  |  |  | 审核日期 |
| 13 | `sCheckPerson` | `varchar(255)` | YES |  |  |  | 审核人 |
| 14 | `bPrint` | `bit(1)` | NO |  | b'0' |  | 是否打印 |
| 15 | `bCopyLimit` | `bit(1)` | NO |  | b'0' |  | 禁止拷贝 |
| 16 | `sStatus` | `varchar(255)` | YES |  |  |  | 状态（未审核 已审核 作废 一到四级审核） |
| 17 | `sWareHouseId` | `varchar(100)` | NO |  |  |  | 仓库ID |
| 18 | `sLocationId` | `varchar(100)` | NO |  |  |  | 库区ID |
| 19 | `sWareHouseLocationId` | `varchar(100)` | NO |  |  |  | 库位ID |
| 20 | `sEmployeeId` | `varchar(100)` | NO |  |  |  | 员工ID |
| 21 | `bInvalid` | `bit(1)` | NO |  | b'0' |  | 是否作废 |
| 22 | `sMReserve1` | `varchar(255)` | YES |  |  |  | 预留字符1 |
| 23 | `sMReserve2` | `varchar(255)` | YES |  |  |  | 预留字符2 |
| 24 | `sMReserve3` | `varchar(255)` | YES |  |  |  | 预留字符3 |
| 25 | `sMReserve4` | `varchar(255)` | YES |  |  |  | 预留字符4 |
| 26 | `sMReserve5` | `varchar(255)` | YES |  |  |  | 预留字符5 |
| 27 | `sMReserve6` | `varchar(255)` | YES |  |  |  | 预留字符6 |
| 28 | `dMReserve1` | `decimal(18,6)` | YES |  |  |  | 预留数字1 |
| 29 | `dMReserve2` | `decimal(18,6)` | YES |  |  |  | 预留数字2 |
| 30 | `dMReserve3` | `decimal(18,6)` | YES |  |  |  | 预留数字3 |
| 31 | `iMReserve1` | `int` | YES |  |  |  | 预留整型1 |
| 32 | `iMReserve2` | `int` | YES |  |  |  | 预留整型2 |
| 33 | `iMReserve3` | `int` | YES |  |  |  | 预留整型3 |
| 34 | `tMReserve1` | `datetime` | YES |  |  |  | 预留日期1 |
| 35 | `tMReserve2` | `datetime` | YES |  |  |  | 预留日期2 |
| 36 | `sVoucherBillNo` | `varchar(255)` | NO |  | 未生成凭证 |  | 凭证ID |
| 37 | `sVoucherBillId` | `varchar(255)` | 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._
