| | |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | import com.alibaba.excel.annotation.format.DateTimeFormat; |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | |
| | | @Builder |
| | | public class UserExpDto { |
| | | @ApiModelProperty(value = "姓名",dataType = "String", position = 0) |
| | | @ExcelProperty(value = "报案人",index = 0) |
| | | @ExcelProperty(value = "姓名",index = 0) |
| | | @ColumnWidth(20) |
| | | private String realName; |
| | | |
| | | @ApiModelProperty(value = "手机号码",dataType = "String", position = 1) |
| | | @ExcelProperty(value = "手机号码",index = 1) |
| | | @ColumnWidth(20) |
| | | private String userMobile; |
| | | |
| | | @ApiModelProperty(value = "身份证",dataType = "String", position = 2) |
| | | @ExcelProperty(value = "身份证",index = 2) |
| | | @ColumnWidth(20) |
| | | private String userIdcard; |
| | | |
| | | @ApiModelProperty(value = "性别",dataType = "String", position = 3) |
| | | @ExcelProperty(value = "性别",index = 3) |
| | | @ColumnWidth(10) |
| | | private String sex; |
| | | |
| | | @ApiModelProperty(value = "现居地",dataType = "String", position = 4) |
| | | @ExcelProperty(value = "现居地",index = 4) |
| | | @ColumnWidth(20) |
| | | private String location; |
| | | |
| | | @ApiModelProperty(value = "工作单位地址",dataType = "String", position = 5) |
| | | @ExcelProperty(value = "工作单位地址",index = 5) |
| | | @ColumnWidth(20) |
| | | private String workingLocation; |
| | | |
| | | @ApiModelProperty(value = "创建时间",dataType = "Date",position = 6) |
| | | @ExcelProperty(value = "创建时间", index = 6) |
| | | @DateTimeFormat("yyyy/MM/dd") |
| | | @DateTimeFormat("yyyy/MM/dd HH:mm:ss") |
| | | @ColumnWidth(20) |
| | | private Date ctime; |
| | | |
| | | @ApiModelProperty(value = "备注",dataType = "String", position = 7) |
| | | @ExcelProperty(value = "备注",index = 7) |
| | | @ColumnWidth(20) |
| | | private String userMemo; |
| | | |
| | | } |