forked from luyan/epmet-cloud-lingshan
3 changed files with 30 additions and 11 deletions
@ -1,31 +1,37 @@ |
|||||
package com.epmet.excel; |
package com.epmet.excel; |
||||
|
|
||||
import cn.afterturn.easypoi.excel.annotation.CellStyler; |
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel; |
import cn.afterturn.easypoi.excel.annotation.Excel; |
||||
|
import cn.afterturn.easypoi.excel.annotation.ExcelCollection; |
||||
|
import com.epmet.dto.IcCommunitySelfOrganizationPersonnelDTO; |
||||
import lombok.Data; |
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
@Data |
@Data |
||||
public class ExportCommunitySelfOrganizationExcel { |
public class ExportCommunitySelfOrganizationExcel { |
||||
|
|
||||
@Excel(name = "排序") |
// @Excel(name = "排序")
|
||||
private Integer sort; |
// private Integer sort;
|
||||
|
|
||||
@Excel(name = "组织名称", width = 40) |
@Excel(name = "组织名称", width = 40, needMerge = true) |
||||
private String organizationName; |
private String organizationName; |
||||
|
|
||||
@Excel(name = "组织人数", width = 20) |
@Excel(name = "组织人数", width = 20, needMerge = true) |
||||
private Integer organizationPersonCount; |
private Integer organizationPersonCount; |
||||
|
|
||||
@Excel(name = "负责人姓名", width = 20) |
@Excel(name = "负责人", width = 20, needMerge = true) |
||||
private String principalName; |
private String principalName; |
||||
|
|
||||
@Excel(name = "负责人电话", width = 20) |
@Excel(name = "联系电话", width = 20, needMerge = true) |
||||
private String principalPhone; |
private String principalPhone; |
||||
|
|
||||
@Excel(name = "服务事项", width = 60) |
@Excel(name = "服务事项", width = 60, needMerge = true) |
||||
private String serviceItem; |
private String serviceItem; |
||||
|
|
||||
@Excel(name = "社区自组织创建时间", width = 20) |
@Excel(name = "创建时间", width = 20, needMerge = true) |
||||
private String organizationCreatedTime; |
private String organizationCreatedTime; |
||||
|
|
||||
|
@ExcelCollection(name = "组织成员") |
||||
|
private List<ImportCommunitySelfOrganizationSon> organizationPersonnel; |
||||
|
|
||||
} |
} |
Loading…
Reference in new issue