package org.springblade.modules.place.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 lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* HouseExcel
|
*
|
* @author Chill
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class PlaceExcel implements Serializable {
|
|
private static final long serialVersionUID = 2L;
|
|
/** 门牌地址编码 */
|
@ExcelProperty( "门牌地址编码")
|
private String houseCode;
|
|
/** 街道名称 */
|
@ExcelProperty( "街道名称")
|
private String streetName;
|
|
/** 社区名称 */
|
@ExcelProperty( "社区名称")
|
private String communityName;
|
|
/** 所属网格 */
|
@ExcelProperty( "所属网格")
|
private String gridName;
|
|
/** 房屋名称 */
|
@ExcelProperty( "详细地址")
|
private String houseName;
|
|
/** 姓名 */
|
@ColumnWidth(15)
|
@ExcelProperty( "姓名")
|
private String name;
|
|
/** 手机号 */
|
@ColumnWidth(15)
|
@ExcelProperty( "手机号")
|
private String phoneNumber;
|
|
}
|