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
package com.panzhihua.common.model.dtos.community.integral.admin;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel("计算用户积分请求参数")
public class AddComActIntegralUserDTO {
 
    @ApiModelProperty("业务id")
    private Long serviceId;
 
    @ApiModelProperty("积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
            "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)")
    private Integer integralType;
 
    @ApiModelProperty(value = "社区id")
    private Long communityId;
 
    @ApiModelProperty(value = "用户id")
    private Long userId;
 
    @ApiModelProperty(value = "是否是评论(1.是 2.否)")
    private Integer isComment;
 
    @ApiModelProperty(value = "签到类型 1居民 志愿者签到 2党员签到")
    private Integer activityType;
 
    @ApiModelProperty(value = "以什么身份报名(1.居民 2.党员 3.志愿者)")
    private Integer signIdentity;
 
    @ApiModelProperty(value = "积分")
    private Integer integral;
 
    private Integer integralPartyTime;
 
    private String remark;
 
    public AddComActIntegralUserDTO(Long serviceId, Integer integralType, Long communityId, Long userId) {
        this.serviceId = serviceId;
        this.integralType = integralType;
        this.communityId = communityId;
        this.userId = userId;
    }
 
    public AddComActIntegralUserDTO() {}
 
    /**
     * 积分任务类型(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;
        int qxhd = 8;
    }
}