Browse Source

报警设置扩展类

yuejiaying 4 years ago
parent
commit
738184b600
1 changed files with 49 additions and 0 deletions
  1. 49 0
      sms_water/src/main/java/com/huaxu/dto/AlarmSettingDto.java

+ 49 - 0
sms_water/src/main/java/com/huaxu/dto/AlarmSettingDto.java

@@ -0,0 +1,49 @@
+package com.huaxu.dto;
+
+import com.huaxu.entity.AlarmSetting;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.util.List;
+
+@Data
+@ApiModel("报警设置")
+public class AlarmSettingDto extends AlarmSetting {
+    /**
+     * 所属公司
+     */
+    @ApiModelProperty(value = "所属公司")
+    private Integer companyOrgId;
+    /**
+     * 所属部门
+     */
+    @ApiModelProperty(value = "所属部门")
+    private Integer deptOrgId;
+    /**
+     * 场景id
+     */
+    @ApiModelProperty(value = "场景id")
+    private Integer sceneId;
+    /**
+     * 场景名称
+     */
+    @ApiModelProperty(value = "场景名称")
+    private String sceneName;
+    /**
+     * 设备类型
+     */
+    @ApiModelProperty(value = "设备类型")
+    private String deviceType;
+    /**
+     * 设备名称
+     */
+    @ApiModelProperty(value = "设备名称")
+    private String deviceName;
+    /**
+     * 属性名称
+     */
+    @ApiModelProperty(value = "属性名称")
+    private String attributeName;
+
+}