# `sys_notice_send`

> 消息模板


- **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 | MUL |  |  | 唯一ID |
| 3 | `sBrandsId` | `varchar(50)` | YES |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(50)` | YES |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 6 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 7 | `sMakePerson` | `varchar(50)` | YES |  |  |  | 制单人 |
| 8 | `sTemplateCode` | `varchar(50)` | YES |  |  |  | 模板代码 |
| 9 | `sTemplateName` | `varchar(50)` | YES |  |  |  | 模板名称 |
| 10 | `bSendEmail` | `bit(1)` | NO |  | b'0' |  | 发送邮件 |
| 11 | `bSendWechat` | `bit(1)` | NO |  | b'0' |  | 发送微信 |
| 12 | `bSendDingTaik` | `bit(1)` | NO |  | b'0' |  | 发送钉钉 |
| 13 | `bSendPhone` | `bit(1)` | NO |  | b'0' |  | 发送短信 |
| 14 | `bInvalid` | `bit(1)` | NO |  | b'0' |  | 是否作废 |
| 15 | `bSend` | `bit(1)` | NO |  | b'0' |  | 是否已发送 |
| 16 | `sTitle` | `varchar(50)` | NO |  |  |  | 消息标题 |
| 17 | `sAbstractfullmemo` | `longtext` | NO |  |  |  | 消息摘要 |
| 18 | `sTemplateFullMemo` | `longtext` | YES |  |  |  | 消息模板 |
| 19 | `sTemplateFile` | `longtext` | YES |  |  |  | 附件模板 |
| 20 | `sBillNo` | `varchar(50)` | NO |  |  |  | 消息模板单据号 |
| 21 | `sFormId` | `varchar(50)` | NO |  |  |  | 窗体ID |
| 22 | `bCheck` | `bit(1)` | NO |  | b'0' |  | 是否审核 |
| 23 | `tCheckDate` | `datetime` | YES |  |  |  | 审核日期 |
| 24 | `sCheckPerson` | `varchar(255)` | YES |  |  |  | 审核人 |
| 25 | `sStatus` | `varchar(255)` | YES |  |  |  | 状态（未审核 已审核 作废 一到四级审核） |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexU_1` | ✓ | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId` |
| `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._
