package com.yeejoin.amos.boot.module.ys.api.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


/**
 *案例列表
 */
@Data
public class CaseVo {
    @ExcelProperty(value = "案例名称",index = 0)
    String caseName;

    @ExcelProperty(value = "处置对象",index = 1)
    String handleObject;

    @ExcelProperty(value = "灾情省",index = 2)
    String provinceDisaster;

    @ExcelProperty(value = "灾情市",index = 3)
    String cityDisaster;

    @ExcelProperty(value = "群众伤亡",index = 4)
    String personCasualties;

    @ExcelProperty(value = "灾情等级",index = 5)
    String disasterLevelId;

    @ExcelProperty(value = "灾情大类型",index = 6)
    String disasterTypeId;

    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "结束时间",index = 7)
    Date disasterEndTime;

    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "开始时间",index = 8)
    Date disasterStartTime;

}
