青羊经侦大队-数据平台
baizonghao
2023-04-23 4a9a9fa60f52be1e7c91f01df54b3cbae8c11d6c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.example.jz.modle.dto;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.util.Date;
 
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserExpDto {
    @ApiModelProperty(value = "姓名",dataType = "String", position = 0)
    @ExcelProperty(value = "报案人",index = 0)
    private String realName;
 
    @ApiModelProperty(value = "手机号码",dataType = "String", position = 1)
    @ExcelProperty(value = "手机号码",index = 1)
    private String userMobile;
 
    @ApiModelProperty(value = "身份证",dataType = "String", position = 2)
    @ExcelProperty(value = "身份证",index = 2)
    private String userIdcard;
 
    @ApiModelProperty(value = "性别",dataType = "String", position = 3)
    @ExcelProperty(value = "性别",index = 3)
    private String sex;
 
    @ApiModelProperty(value = "现居地",dataType = "String", position = 4)
    @ExcelProperty(value = "现居地",index = 4)
    private String location;
 
    @ApiModelProperty(value = "工作单位地址",dataType = "String", position = 5)
    @ExcelProperty(value = "工作单位地址",index = 5)
    private String workingLocation;
 
    @ApiModelProperty(value = "创建时间",dataType = "Date",position = 6)
    @ExcelProperty(value = "创建时间", index = 6)
    @DateTimeFormat("yyyy/MM/dd")
    private Date ctime;
 
    @ApiModelProperty(value = "备注",dataType = "String", position = 7)
    @ExcelProperty(value = "备注",index = 7)
    private String userMemo;
 
}