MrShi
2 天以前 0b8838c8dd02161c5e7577162d8cd3318d133b68
server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/WarningRuleDetail.java
@@ -1,5 +1,6 @@
package com.doumee.dao.business.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.service.business.third.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
@@ -22,6 +23,7 @@
public class WarningRuleDetail  extends LoginUserModel {
    @ApiModelProperty(value = "主键", example = "1")
    @TableId(type = IdType.AUTO)
    @ExcelColumn(name="主键")
    private Integer id;
@@ -59,9 +61,9 @@
    @ExcelColumn(name="报警类型编码(关联warning)")
    private Integer warningId;
    @ApiModelProperty(value = "多规则间隔时间(秒)", example = "1")
    @ExcelColumn(name="多规则间隔时间(秒)")
    private Integer regionCode;
    @ApiModelProperty(value = "区域编码", example = "1")
    @ExcelColumn(name="区域编码")
    private String regionCode;
    @ApiModelProperty(value = "排序码")
    @ExcelColumn(name="排序码")
@@ -75,4 +77,23 @@
    @ExcelColumn(name="区域主键")
    private String regionId;
    @ApiModelProperty(value = "监控点名称")
    @ExcelColumn(name="监控点名称")
    private String deviceName;
    @ApiModelProperty(value = "监控点主键")
    @ExcelColumn(name="监控点主键")
    private String deviceId;
    @ApiModelProperty(value = "关联设备类型 0-监控点 1-消防设备 2-消防传感器")
    @ExcelColumn(name="关联设备类型 0-监控点 1-消防设备 2-消防传感器")
    private Integer deviceType;
    @ApiModelProperty(value = "告警类型编码")
    @TableField(exist = false)
    private String code;
    @ApiModelProperty(value = "告警名称")
    @TableField(exist = false)
    private String warningName;
}