| package com.zt.modules.sample.excel; | 
|   | 
| import lombok.AllArgsConstructor; | 
| import lombok.Data; | 
| import lombok.NoArgsConstructor; | 
|   | 
| import com.alibaba.excel.annotation.ExcelProperty; | 
| import com.alibaba.excel.annotation.write.style.ColumnWidth; | 
|   | 
| @Data | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| public class MultipleHeaderExcel { | 
|   | 
|     /** | 
|      * 编号 | 
|      */ | 
|     @ColumnWidth(15) | 
|     @ExcelProperty("编号") | 
|     private String code; | 
|   | 
|     /** | 
|      * 名称 | 
|      */ | 
|     @ColumnWidth(30) | 
|     @ExcelProperty({ "名称类", "姓名" }) | 
|     private String name; | 
|   | 
|     /** | 
|      * 简称 | 
|      */ | 
|     @ColumnWidth(20) | 
|     @ExcelProperty({ "名称类", "简称" }) | 
|     private String shortName; | 
|   | 
|     /** | 
|      * 组合名 | 
|      */ | 
|     @ColumnWidth(40) | 
|     @ExcelProperty({ "名称类", "组合名" }) | 
|     private String mergerName; | 
|   | 
|     /** | 
|      * 拼音 | 
|      */ | 
|     @ExcelProperty("拼音") | 
|     private String pinyin; | 
| } |