package com.ruoyi.system.export; import cn.afterturn.easypoi.excel.annotation.Excel; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import lombok.Data; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; @Data @ApiModel(value = "老人预警导出对象TOldsterWarningExport") public class TOldsterWarningExport implements Serializable { @Excel(name = "人员姓名", width = 20) private String oldsterName; @Excel(name = "性别", width = 20,replace = {"男_1","女_2"}) private Integer oldsterSex; @Excel(name = "年龄", width = 20) private Integer oldsterAge; @Excel(name = "出生日期", width = 20) @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private LocalDate birthDate; @Excel(name = "联系电话", width = 20) private String contactPhone; @Excel(name = "人员类型", width = 20,replace = {"独居老人_1","高龄老人_2","散居特困供养老人_3","失能老人_4"}) private Integer oldsterType; @Excel(name = "居住地址", width = 20) private String address; @Excel(name = "监护人", width = 20) private String guardianName; @Excel(name = "监护人联系电话", width = 20) private String guardianPhone; @Excel(name = "预警时间", width = 20) private String warningTimeStr; private LocalDateTime warningTime; private String idCard; }