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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import lombok.Data;
 
/**
 * @auther lyq
 * @create 2021-07-28 16:02:46
 * @describe 积分规则表实体类
 */
 
@Data
@TableName("com_act_integral_rule")
public class ComActIntegralRuleDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 积分规则名称
     */
    private String name;
 
    /**
     * 社区id
     */
    private Long communityId;
 
    /**
     * 积分奖励金额
     */
    private Integer amount;
 
    /**
     * 积分任务描述
     */
    private String integralDescribe;
 
    /**
     * 是否限制(1.是 2.否)
     */
    private Integer isRestrict;
 
    /**
     * 限制类型(1.月 2.日)
     */
    @TableField(value = "type", updateStrategy = FieldStrategy.IGNORED)
    private Integer type;
 
    /**
     * 限制次数
     */
    @TableField(value = "count", updateStrategy = FieldStrategy.IGNORED)
    private Integer count;
 
    /**
     * 创建时间
     */
    private Date createAt;
 
    /**
     * 修改时间
     */
    private Date updateAt;
 
    /**
     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
     *             "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)
     */
    private Integer integralType;
 
    /**
     * 积分任务备注
     */
    private String remark;
 
    @Override
    public String toString() {
        return "ComActIntegralRuleDO{" + "id=" + id + ", name=" + name + ", communityId=" + communityId + ", amount="
            + amount + ", integralDescribe=" + integralDescribe + ", isRestrict=" + isRestrict + ", type=" + type
            + ", count=" + count + ", createAt=" + createAt + ", updateAt=" + updateAt + ", integralType="
            + integralType + ", remark=" + remark + "}";
    }
 
    /**
     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
     *             "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)
     */
    public interface integralType {
        int fbssp = 1;
        int fbwxy = 2;
        int cyystp = 3;
        int cyjmhd = 4;
        int cyzyzhd = 5;
        int cydyhd = 6;
        int cydcwj = 7;
    }
 
    /**
     * 是否限制(1.是 2.否)
     */
    public interface isRestrict {
        int yes = 1;
        int no = 2;
    }
 
    /**
     * 限制类型(1.月 2.日)
     */
    public interface type {
        int month = 1;
        int day = 2;
    }
}