package com.example.jz.modle.dto; import com.alibaba.excel.annotation.ExcelProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; @Data @ApiModel(description = "案件录入导入", value = "CauseLoadDto") public class CauseLoadDto { //案件编号 @ApiModelProperty(dataType = "String", value = "案件编号") @ExcelProperty(value = "案件编号",index = 0) private String number; //案件名称 @ApiModelProperty(dataType = "String", value = "案件名称") @ExcelProperty(value = "案件名称",index = 1) private String name; @ApiModelProperty(dataType = "String", value = "案件名称") @ExcelProperty(value = "预估总金额",index = 2) private String totalMoney; //最早次案发时间 @ApiModelProperty(dataType = "Date", value = "最早发案时间") @ExcelProperty(value = "最早发案时间",index = 3) private Date firstTime; //案件状态 @ApiModelProperty(dataType = "String", value = "案件状态") @ExcelProperty(value = "案件状态",index = 4) private String status; //负责人 @ApiModelProperty(dataType = "String", value = "负责人") @ExcelProperty(value = "负责人",index = 5) private String userName; //案件描述 @ApiModelProperty(dataType = "String", value = "案件描述") @ExcelProperty(value = "案件描述",index = 6) private String description; }