package org.springblade.modules.house.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 UserHouseLabelExcel implements Serializable {
|
|
private static final long serialVersionUID = 2L;
|
|
|
/** 门牌地址编码 */
|
@ExcelProperty( "门牌地址编码")
|
private String houseCode;
|
|
/** 标签ID */
|
@ExcelProperty( "标签ID")
|
private Long labelId;
|
|
/** 标签名称 */
|
@ExcelProperty( "标签名称")
|
private String labelName;
|
|
/** 颜色 */
|
@ExcelProperty( "颜色")
|
private String color;
|
|
/** 备注 */
|
@ExcelProperty( "备注")
|
private String remark;
|
|
/** 用户id */
|
@ExcelProperty( "用户id")
|
private Long userId;
|
|
// /** 标签类型:1:人:2房屋 */
|
// @ExcelProperty( "标签类型:1:人:2房屋")
|
// private Integer lableType;
|
|
/** 住户id */
|
@ExcelProperty( "住户id")
|
private Integer householdId;
|
|
|
|
|
}
|