diff --git a/src/main/java/mpms/model/data/MonitorModel.java b/src/main/java/mpms/model/data/MonitorModel.java index 67ddf4893963232ba0b874763f76a271b0f4ebb9..5f21c9885588330bf0cf18d1800731e7738b9f3d 100644 --- a/src/main/java/mpms/model/data/MonitorModel.java +++ b/src/main/java/mpms/model/data/MonitorModel.java @@ -160,4 +160,36 @@ public class MonitorModel extends BaseModel { } } - } + /** + * 通知 + */ + public static class Notify extends BaseJsonModel { + private int style; + private String value; + + public Notify() { + } + + public Notify(NotifyType style, String value) { + this.style = style.getCode(); + this.value = value; + } + + public int getStyle() { + return style; + } + + public void setStyle(int style) { + this.style = style; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + } + + }