monitor_event_notify
预警通知
所属应用: monitor
表结构
| ColumnName | Comment | Type | Not null | Default | Autoincrement |
|---|---|---|---|---|---|
| notify_id | ID | int(10) unsigned | Y | Y | |
| template_id | 模板 | int(10) unsigned | Y | N | |
| event_type | 模板类型 | varchar(50) | Y | N | |
| original_content | 模板原内容 | text | N | N | |
| send_content | 发送内容 | longtext | N | N | |
| params | 参数 | longtext | N | N | |
| file_path | 附件地址 | text | N | N | |
| send_type | 发送类型 sms:短信;email:邮箱;workwx:企微; | enum('sms','email','workwx') | N | N | |
| status | 发送状态 0:未处理;1:已处理;2:处理失败;3:处理中; | enum('0','1','2','3') | N | 0 | N |
| is_sync | 发送类型 | enum('true','false') | N | false | N |
| send_result | 发送结果 | longtext | N | N | |
| mailing_address | 收信地址 | text | N | N | |
| org_id | 运营组织 | mediumint(8) unsigned | N | N | |
| at_time | 创建时间 | TIMESTAMP | N | CURRENT_TIMESTAMP | N |
| up_time | 修改时间 | TIMESTAMP | N | CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP | N |
索引
| Key name | Column names | Unique | Comment |
|---|---|---|---|
| primary | notify_id | Y | |
| ind_status | status | N | |
| ind_event_type | event_type | N | |
| idx_c_template_id | template_id | N | |
| idx_c_org_id | org_id | N |
