|
|
@ -1,6 +1,10 @@ |
|
|
|
package com.epmet.excel; |
|
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|
|
|
import com.alibaba.excel.annotation.write.style.HeadStyle; |
|
|
|
import com.alibaba.excel.enums.poi.FillPatternTypeEnum; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
/** |
|
|
@ -9,13 +13,19 @@ import lombok.Data; |
|
|
|
* @Date 2022/4/13 10:46 |
|
|
|
*/ |
|
|
|
@Data |
|
|
|
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 44) |
|
|
|
public class PartyMemberEducationExportExcel { |
|
|
|
@Excel(name = "序号", width = 10) |
|
|
|
@ColumnWidth(8) |
|
|
|
@ExcelProperty(value = "序号",order = 1) |
|
|
|
private Integer index; |
|
|
|
@Excel(name = "姓名", width = 20) |
|
|
|
@ColumnWidth(15) |
|
|
|
@ExcelProperty(value = "姓名",order = 2) |
|
|
|
private String name; |
|
|
|
@Excel(name = "学历", width = 10) |
|
|
|
@ColumnWidth(11) |
|
|
|
@ExcelProperty(value = "学历",order = 3) |
|
|
|
private String education; |
|
|
|
@ColumnWidth(20) |
|
|
|
@ExcelProperty(value = "手机号码",order = 4) |
|
|
|
@Excel(name = "手机号码", width = 30) |
|
|
|
private String mobile; |
|
|
|
} |
|
|
|