mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.panzhihua.common.model.vos.community;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
 
import java.util.Date;
 
/**
 * title: ComActActSignExcelVO  社区活动报名名单
 * projectName 成都呐喊信息技术有限公司-智慧社区项目
 * description: 记录和展示社区活动报名名单
 *
 * @author txb
 * @date 2021/8/24 10:21
 */
 
@Data
@ApiModel("社区活动签到表")
public class ComActActSignExcelVO {
 
    @ExcelProperty(value = "姓名", index = 1)
    private String name;
 
    @ExcelProperty(value = "身份", index = 2)
    private String identity;
 
    @ExcelProperty(value = "电话", index = 4)
    private String phone;
 
    @ExcelProperty(value = "报名时间", index = 0)
    private Date createAt;
 
    @ExcelProperty(value = "人员标签", index = 3)
    private String tags;
 
    @ExcelProperty(value = "报名状态",index = 5)
    private String status;
 
    @ExcelProperty(value = "取消原因", index = 6)
    private String reason;
 
    @ExcelProperty(value = "参与情况", index = 7)
    private String condition;
 
    @ExcelProperty(value = "获得奖励", index = 8)
    private String award;
    @ExcelIgnore
    private Integer times;
    @ExcelIgnore
    private Integer limit;
 
    public void generateCondition() {
        if(this.times!=null&&this.limit!=null){
            this.condition = "("+times+"/"+ (limit.equals(-1) ? "无限" : limit) +")";
        }
    }
}