From dde29a93461a81940dbef9a65c60fa2690f2097e Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期六, 31 七月 2021 10:15:03 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into txb --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/integral/admin/AddComActIntegralUserDTO.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/integral/admin/AddComActIntegralUserDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/integral/admin/AddComActIntegralUserDTO.java new file mode 100644 index 0000000..84b835c --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/integral/admin/AddComActIntegralUserDTO.java @@ -0,0 +1,49 @@ +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.参与调查问卷)") + private Integer integralType; + + @ApiModelProperty(value = "社区id") + private Long communityId; + + @ApiModelProperty(value = "用户id") + private Long userId; + + @ApiModelProperty(value = "是否是评论(1.是 2.否)") + private Integer isComment; + + + /** + * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷) + */ + public interface integralType{ + int fbssp = 1; + int fbwxy = 2; + int cyystp = 3; + int cyzyzhd = 4; + int cysqhd = 5; + int cydyhd = 6; + int cydcwj = 7; + } + + public AddComActIntegralUserDTO(Long serviceId, Integer integralType, Long communityId, Long userId) { + this.serviceId = serviceId; + this.integralType = integralType; + this.communityId = communityId; + this.userId = userId; + } + + public AddComActIntegralUserDTO() { + } +} -- Gitblit v1.7.1