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