linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
package org.springblade.modules.disputeRecord.excel;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItem;
import org.springblade.common.excel.ExcelDictItemLabel;
import java.io.Serializable;
import java.util.Date;
 
/**
 * DisputeRecordExcel
 * 矛盾纠纷事件
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class DisputeRecordExcel implements Serializable {
 
    private static final long serialVersionUID = 2L;
 
    /** 事发地址 */
    @ExcelProperty( "事发地址")
    private String address;
    /**
     * 事发经度
     */
    @ExcelProperty( "事发经度")
    private String lng;
    /**
     * 事发纬度
     */
    @ExcelProperty( "事发纬度")
    private String lat;
 
    /**
     * 事发时间
     */
    @ApiModelProperty(value = "创建时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty( "事发时间")
    private String eventTime;
 
    /**
     * 当事人1姓名
     */
    @ApiModelProperty(value = "当事人1姓名")
    @ExcelProperty( "当事人1姓名")
    private String nameOne;
    /**
     * 当事人1性别
     */
    @ApiModelProperty(value = "当事人1性别")
    @ExcelProperty( "当事人1性别(男/女)")
    private String genderOne;
    /**
     * 当事人1电话
     */
    @ApiModelProperty(value = "当事人1电话")
    @ExcelProperty( "当事人1电话")
    private String phoneOne;
    /**
     * 当事人1身份证号码
     */
    @ApiModelProperty(value = "当事人1身份证号码")
    @ExcelProperty( "当事人1身份证号码")
    private String idCardOne;
    /**
     * 当事人2姓名
     */
    @ApiModelProperty(value = "当事人2姓名")
    @ExcelProperty( "当事人2姓名")
    private String nameTwo;
    /**
     * 当事人2性别
     */
    @ApiModelProperty(value = "当事人2性别")
    @ExcelProperty( "当事人2性别(男/女)")
    private String genderTwo;
    /**
     * 当事人2电话
     */
    @ApiModelProperty(value = "当事人2电话")
    @ExcelProperty( "当事人2电话")
    private String phoneTwo;
    /**
     * 当事人2身份证号码
     */
    @ApiModelProperty(value = "当事人2身份证号码")
    @ExcelProperty( "当事人2身份证号码")
    private String idCardTwo;
 
    /**
     * 纠纷类型  业务字典:disputeType
     */
    @ApiModelProperty(value = "纠纷类型  业务字典:disputeType")
    @ExcelProperty( value = "纠纷类型(家庭婚恋纠纷/邻里纠纷/劳务劳资纠纷/经济纠纷/消防纠纷/医疗纠纷/交通纠纷/其他纠纷)",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "disputeType")
    @ExcelDictItem(type = "disputeType")
    private String disputeType;
    /**
     * 纠纷内容
     */
    @ApiModelProperty(value = "纠纷内容")
    @ExcelProperty( "纠纷内容")
    private String disputeContent;
    /**
     * 0:否 1:是   是否受伤
     */
    @ApiModelProperty(value = "0:否 1:是   是否受伤 ")
    @ExcelProperty( "是否受伤(是/否)")
    private String injuryFlag;
    /**
     * 受伤情况描述
     */
    @ApiModelProperty(value = "受伤情况描述")
    @ExcelProperty( "受伤情况描述")
    private String injuryDesc;
    /**
     * 报警次数
     */
    @ApiModelProperty(value = "报警次数")
    @ExcelProperty( "报警次数")
    private Integer alarmNum;
    /**
     * 信息来源:1:群众报警  2:e呼即办推送 3:走访发现 业务字典:disputeSource
     */
    @ApiModelProperty(value = "信息来源 业务字典:disputeSource")
    @ExcelProperty( value = "信息来源(群众报警/e呼即办推送/走访发现/)",converter = ExcelDictConverter.class)
    @ExcelDictItemLabel(type = "disputeSource")
    @ExcelDictItem(type = "disputeSource")
    private String source;
    /**
     * 处理结果 1:已化解 2:未化解 3:移送e呼即办
     */
    @ApiModelProperty(value = "处理结果 1:已化解 2:未化解 3:移送e呼即办")
    @ExcelProperty( value = "处理结果(已化解/未化解/移送e呼即办)")
    private String handleResult;
}