| New file |
| | |
| | | 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; |
| | | } |
| | | |