package com.panzhihua.common.model.dtos.partybuilding;
|
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.Min;
|
import javax.validation.constraints.NotNull;
|
|
@Data
|
@ApiModel("新双争双评积分参数")
|
public class NewFightIntegral
|
{
|
@ApiModelProperty(value = "用户id", required = true)
|
@Min(value = 1, message = "用户id不能为空")
|
@NotNull(message = "用户id不能为空")
|
private String userId;
|
|
@ApiModelProperty(value = "社区id", required = true)
|
@Min(value = 1, message = "社区id不能为空")
|
@NotNull(message = "社区id不能为空")
|
private String communityId;
|
|
|
@ApiModelProperty(value = "增加还是减少 1增加 2减少")
|
private int addOrReduce=1;
|
|
|
@ApiModelProperty(value = "积分变动数量")
|
private String integralNum="0";
|
|
@ApiModelProperty(value = "商家id")
|
private String merchantId;
|
|
@ApiModelProperty(value = "变动备注")
|
private String remark;
|
|
@ApiModelProperty(value = "业务类型 9商城积分兑换 10商家线下积分兑换 11花城登录 12 查看问题清单 " +
|
"13查看需求清单 14 查看报道服务活动 15查看微心愿 16 查看随手拍 17 每日签到 18 上传“随手拍”或“微心愿",required = true)
|
private String type="9";
|
|
@ApiModelProperty(value = "交易身份类型(1.居民 2.党员 3.志愿者)")
|
private String identityType="1";
|
|
@ApiModelProperty(value = "交易业务id")
|
private String serviceId="0";
|
|
@ApiModelProperty(value = "完成任务领取积分奖励的任务id")
|
private String taskId="0";
|
|
|
}
|