2021-12-13 14:51:08 +08:00
|
|
|
export class Alert {
|
|
|
|
|
id!: number;
|
|
|
|
|
target!: string;
|
|
|
|
|
monitorId!: number;
|
|
|
|
|
monitorName!: string;
|
2021-12-19 21:49:19 +08:00
|
|
|
// 告警级别 0:高-emergency-紧急告警-红色 1:中-critical-严重告警-橙色 2:低-warning-警告告警-黄色
|
2021-12-13 14:51:08 +08:00
|
|
|
priority: number = 2;
|
2021-12-19 21:49:19 +08:00
|
|
|
// 告警状态: 0-正常告警(未读) 3-已读已知
|
2021-12-13 14:51:08 +08:00
|
|
|
status!: number;
|
|
|
|
|
content!: string;
|
2021-12-13 15:22:16 +08:00
|
|
|
times!: number;
|
2021-12-13 14:51:08 +08:00
|
|
|
gmtCreate!: number;
|
|
|
|
|
}
|