liujie
2025-05-29 71efdfc7138d619583edcafb6c96f8e70ad17c7f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.panzhihua.westcommittee.model.excel;
 
import cn.idev.excel.annotation.ExcelProperty;
import com.panzhihua.westcommittee.annotation.TargetEnum;
import com.panzhihua.westcommittee.conveter.EConverter;
import com.panzhihua.westcommittee.enums.FreezeStatusEnum;
import com.panzhihua.westcommittee.enums.GenderEnum;
import lombok.Data;
 
/**
 * @author mitao
 * @date 2025/3/14
 */
@Data
public class PartyMemberExcel {
    
    @ExcelProperty(value = {"姓名"}, index = 0)
    private String name;
    
    @ExcelProperty(value = {"性别"}, index = 1,converter = EConverter.class)
    @TargetEnum(type = GenderEnum.class)
    private Integer gender;
 
    @ExcelProperty(value = {"所在社区"}, index = 2)
    private String community;
 
    @ExcelProperty(value = {"服务对象"}, index = 3)
    private String serviceTarget;
    
    @ExcelProperty(value = {"所在党组织"}, index = 4)
    private String partyOrganization;
 
    @ExcelProperty(value = {"审核状态"}, index = 5,converter = EConverter.class)
    @TargetEnum(type = FreezeStatusEnum.class)
    private Integer freezeStatus;
 
}