mitao
2025-03-16 44c6754be97b8772a915f7bc54b44ac736c7673b
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
38
package com.panzhihua.sangeshenbian.model.excel;
 
import cn.idev.excel.annotation.ExcelProperty;
import com.panzhihua.sangeshenbian.annotation.FastExcel;
import com.panzhihua.sangeshenbian.annotation.TargetEnum;
import com.panzhihua.sangeshenbian.conveter.EConverter;
import com.panzhihua.sangeshenbian.enums.FreezeStatusEnum;
import com.panzhihua.sangeshenbian.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;
 
}