# `plat_staff_info`

> 平台员工信息表


- **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 | MUL |  |  | 修改时间 |
| 4 | `sShopUserId` | `varchar(35)` | NO | MUL |  |  | 商铺用户编号 |
| 5 | `sStaffUserId` | `varchar(35)` | NO | UNI |  |  | 员工用户编号 |
| 6 | `sDepartmentId` | `varchar(35)` | NO | MUL |  |  | 部门编号 |
| 7 | `sPostId` | `varchar(35)` | NO | MUL |  |  | 岗位编号 |
| 8 | `sStaffName` | `varchar(20)` | NO |  |  |  | 员工姓名 |
| 9 | `sStaffNo` | `varchar(15)` | NO |  |  |  | 员工编号 |
| 10 | `sStaffPhone` | `varchar(30)` | NO |  |  |  | 员工电话 |
| 11 | `iIsEnable` | `tinyint` | NO |  | 1 |  | 是否使用(0:停用,1:使用) |
| 12 | `iIsDelete` | `tinyint` | NO |  | 0 |  | 是否被删除(0:未删除,1:已删除) |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `PLAT_PARTY_STAFF_IDX1` |  | BTREE | `sShopUserId` |
| `PLAT_PARTY_STAFF_IDX2` |  | BTREE | `sDepartmentId` |
| `PLAT_PARTY_STAFF_IDX3` |  | BTREE | `sPostId` |
| `PLAT_PARTY_STAFF_IDX4` |  | BTREE | `tModifyTime` |
| `PLAT_PARTY_STAFF_UNQ1` | ✓ | BTREE | `sStaffUserId` |
| `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._
