package com.sinata.system.domain.vo;
|
|
import cn.idev.excel.annotation.ExcelProperty;
|
import com.sinata.system.annotation.FastExcel;
|
import com.sinata.system.conveter.EConverter;
|
import com.sinata.system.enums.WarningStatusEnum;
|
import com.sinata.system.enums.WarningTypeEnum;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author mitao
|
* @date 2024/12/30
|
*/
|
@Data
|
@ApiModel("预警信息视图对象")
|
public class MwWarningRecordVO {
|
|
@ApiModelProperty("预警记录id")
|
private Long id;
|
|
@ApiModelProperty("预警时间")
|
@ExcelProperty(value = "预警时间", index = 1)
|
private Date warnTime;
|
|
@ApiModelProperty("预警对象id")
|
private Long warningTargetId;
|
|
@ApiModelProperty("预警对象")
|
@ExcelProperty(value = "预警对象", index = 2)
|
private String warningTargetName;
|
|
@ApiModelProperty("预警类型 1:出库超时预警;2:暂存间使用率预警;3:合同到期预警;4:健康记录预警;5:疫苗记录预警;6:防护用品使用预警;7:医疗机构产废日预警;8:医疗机构产废月预警;9:医疗机构存储量预警;10:车辆转运异常预警;11:处置单位存储量预警")
|
@ExcelProperty(value = "预警类型", index = 3, converter = EConverter.class)
|
@FastExcel(type = WarningTypeEnum.class)
|
private Integer type;
|
|
@ApiModelProperty("预警消息")
|
@ExcelProperty(value = "预警消息", index = 4)
|
private String message;
|
|
@ApiModelProperty("预警状态 1:未解除;2:已解除")
|
@ExcelProperty(value = "预警状态", index = 5)
|
@FastExcel(type = WarningStatusEnum.class)
|
private Integer status;
|
|
@ApiModelProperty("单位id")
|
private Long departmentId;
|
|
@ApiModelProperty("单位名称")
|
private String departmentName;
|
|
}
|