package org.springblade.modules.backblast.excel;
|
|
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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springblade.common.excel.ExcelDictConverter;
|
import org.springblade.common.excel.ExcelDictItem;
|
import org.springblade.common.excel.ExcelDictItemLabel;
|
|
import java.util.Date;
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class BackblastPubRecordExcel {
|
|
|
|
@ExcelProperty(value = "街道名称")
|
private String townName;
|
|
|
@ExcelProperty(value = "社区名称")
|
private String communityName;
|
|
|
@ExcelProperty(value = "派出所名称")
|
private String pcsName;
|
|
|
@ExcelProperty(value = "机构名称")
|
private String deptName;
|
|
|
@ExcelProperty(value = "小区名称")
|
private String aoiName;
|
|
|
@ExcelProperty(value = "房屋名称")
|
private String houseName;
|
|
@ExcelProperty(value = "宣传记录民警姓名")
|
private String policeman;
|
|
@ExcelProperty(value = "宣传记录民警电话")
|
private String policemanPhone;
|
|
@ExcelProperty(value = "宣传内容")
|
private String pubContent;
|
|
// @ExcelProperty(value = "宣传现场照片")
|
// private String pubUrls;
|
|
// @ExcelProperty(value = "网格编号")
|
// private String gridCode;
|
|
// @ExcelProperty(value = "警务网格编号")
|
// private String jwGridCode;
|
|
@ExcelProperty(value = "经度")
|
private String lng;
|
|
@ExcelProperty(value = "纬度")
|
private String lat;
|
|
@ExcelProperty(value = "地址")
|
private String address;
|
|
@ExcelProperty(value = "创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
|
// @ExcelProperty(value = "是否下载国家反诈app 1:是 2:否")
|
@ExcelProperty(value = "是否下载国家反诈app", converter = ExcelDictConverter.class)
|
@ExcelDictItemLabel(type = "isFlag")
|
@ExcelDictItem(type = "isFlag")
|
private String isFzApp;
|
|
// @ExcelProperty(value = "是否打开预警功能 1:是 2:否")
|
@ExcelProperty(value = "是否打开预警功能", converter = ExcelDictConverter.class)
|
@ExcelDictItem(type = "isFlag")
|
@ExcelDictItemLabel(type = "isFlag")
|
private String isOpenAlarm;
|
|
@ExcelProperty(value = "是否接受过其他反诈宣防内容")
|
private Integer isOther;
|
|
@ExcelProperty(value = "其他防诈内容")
|
private String otherId;
|
}
|