| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | import com.panzhihua.common.validated.AddGroup; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | @ApiModelProperty("是否是个人发起 1 是 0 否") |
| | | private Integer isPerson; |
| | | |
| | | @ApiModelProperty("签到范围,默认0无限制") |
| | | @NotNull(groups = AddGroup.class, message = "签到范围不可为空") |
| | | private Integer range; |
| | | |
| | | @ApiModelProperty("是否有积分奖励(1.是 2.否)") |
| | | @NotNull(groups = AddGroup.class, message = "是否有积分奖励不可为空") |
| | | private Integer haveIntegralReward; |
| | | |
| | | @ApiModelProperty("积分奖励方式(1.按次奖励 2.记时奖励)") |
| | | private Integer rewardWay; |
| | | |
| | | @ApiModelProperty("参与签到/打卡奖励积分") |
| | | private Integer rewardIntegral; |
| | | |
| | | @ApiModelProperty("参与次数上限,按次奖励需传入") |
| | | private Integer limit; |
| | | |
| | | @ApiModelProperty("是否允许取消(1.允许 2.不允许)") |
| | | @NotNull(groups = AddGroup.class, message = "是否允许取消不可为空") |
| | | private Integer canCancel; |
| | | |
| | | @ApiModelProperty("取消活动扣除积分数目") |
| | | @NotNull(groups = AddGroup.class, message = "取消活动扣除积分数目不可为空") |
| | | private Integer cancelDeduct; |
| | | @ApiModelProperty("二维码类型 1居民,志愿者 2党员") |
| | | private Integer codeType; |
| | | |
| | | } |