package org.springblade.modules.category.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;
|
|
/**
|
* CategoryExcel
|
*
|
* @author Chill
|
*/
|
@Data
|
@ColumnWidth(25)
|
@HeadRowHeight(20)
|
@ContentRowHeight(18)
|
public class CategoryExcel implements Serializable {
|
|
private static final long serialVersionUID = 2L;
|
|
/** 标签名称 */
|
@ExcelProperty( "小类")
|
private String categoryName;
|
|
/** 标签编号 */
|
@ExcelProperty( "类别代码")
|
private String categoryNo;
|
|
/** 层级 */
|
@ExcelProperty( "层级")
|
private Integer level;
|
|
/** 提示词分类描述 */
|
@ExcelProperty( "提示词分类描述")
|
private String description;
|
|
/** 备注 */
|
@ExcelProperty( "备注")
|
private String remark;
|
|
|
}
|