# `sisboxtypebak`

> 盒型


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

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO | PRI |  | auto_increment | 自增列 |
| 2 | `sId` | `varchar(50)` | YES | UNI |  |  | 唯一ID |
| 3 | `sBrandsId` | `varchar(50)` | YES |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(50)` | YES |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 记账日期 |
| 6 | `sMakePerson` | `varchar(50)` | NO |  |  |  | 制单人 |
| 7 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 8 | `sName` | `varchar(100)` | NO | MUL |  |  | 盒型名称 |
| 9 | `bInvalid` | `bit(1)` | NO |  | b'0' |  | 是否作废 |
| 10 | `sAllId` | `text` | YES |  |  |  | 树型所有Id |
| 11 | `sChildren` | `varchar(50)` | YES |  |  |  | 是否为最子级 |
| 12 | `sParentId` | `varchar(50)` | YES |  |  |  | 父级ID |
| 13 | `tMakeDate` | `datetime` | YES |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 14 | `sFormId` | `varchar(50)` | YES |  |  |  | 窗体ID |
| 15 | `sBillNo` | `varchar(50)` | YES | UNI |  |  | 单据号 |
| 16 | `sPackPath` | `varchar(500)` | YES |  |  |  | 盒型图 |
| 17 | `sPackDetailPath` | `varchar(500)` | YES |  |  |  | 展开图 |
| 18 | `dSBLB` | `decimal(18,6)` | YES |  |  |  | 上边留白 |
| 19 | `dXBLB` | `decimal(18,6)` | YES |  |  |  | 下边留白 |
| 20 | `dZBLB` | `decimal(18,6)` | YES |  |  |  | 左边留白 |
| 21 | `dYBLB` | `decimal(18,6)` | YES |  |  |  | 右边留白 |
| 22 | `dSBJJ` | `decimal(18,6)` | YES |  |  |  | 上边间距 |
| 23 | `dXBJJ` | `decimal(18,6)` | YES |  |  |  | 下边间距 |
| 24 | `dZBJJ` | `decimal(18,6)` | YES |  |  |  | 左边间距 |
| 25 | `dYBJJ` | `decimal(18,6)` | YES |  |  |  | 右边间距 |
| 26 | `sLengthFormula` | `varchar(50)` | YES |  |  |  | 展长公式 |
| 27 | `sWidthFormula` | `varchar(50)` | YES |  |  |  | 展宽公式 |
| 28 | `sBoxNo` | `varchar(50)` | YES |  |  |  | 盒型编号 |
| 29 | `sBoxName` | `varchar(100)` | YES |  |  |  | 盒型名称 |
| 30 | `sBoxBody` | `varchar(50)` | YES |  |  |  | 盒身 |
| 31 | `dBoxLength` | `decimal(18,6)` | YES |  |  |  | 盒长 |
| 32 | `dBoxWidth` | `decimal(18,6)` | YES |  |  |  | 盒宽 |
| 33 | `dBoxHeight` | `decimal(18,6)` | YES |  |  |  | 盒高 |
| 34 | `sBoxType` | `varchar(50)` | YES |  |  |  | 盒型类别 |
| 35 | `sMakeUpPath` | `varchar(500)` | YES |  |  |  | 图片地址 |
| 36 | `sTypes` | `varchar(50)` | YES |  |  |  | 类别 |
| 37 | `sPackDetailPathUpLoad` | `varchar(500)` | YES |  |  |  | 盒型刀线图(人工上传) |
| 38 | `sSvgPath` | `varchar(500)` | YES |  |  |  | 拼版刀线图(人工上传) |
| 39 | `sSlaveId` | `varchar(255)` | YES |  |  |  |  |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexN_sName` |  | BTREE | `sName` |
| `IndexU_sId` | ✓ | BTREE | `sId` |
| `IndexU_sNo` | ✓ | BTREE | `sBillNo` |
| `PRIMARY` | ✓ | BTREE | `iIncrement` |

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