| | |
| | | package com.panzhihua.common.model.dtos.partybuilding; |
| | | |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | @ApiModel("报名、取消报名党建活动") |
| | | public class ActivitySignUpDTO { |
| | | |
| | | @ApiModelProperty(value = "党建活动id",example ="3",required = true) |
| | | @Min(value = 1,message ="党建活动不能为空") |
| | | @NotNull(message ="党建活动不能为空") |
| | | @ApiModelProperty(value = "党建活动id", example = "3", required = true) |
| | | @Min(value = 1, message = "党建活动不能为空") |
| | | @NotNull(message = "党建活动不能为空") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "操作类型 0取消报名 1 报名",example ="1",required = true) |
| | | @Min(value = 0,message ="操作类型不能为空") |
| | | @NotNull(message ="操作类型不能为空") |
| | | @ApiModelProperty(value = "操作类型 0取消报名 1 报名", example = "1", required = true) |
| | | @Min(value = 0, message = "操作类型不能为空") |
| | | @NotNull(message = "操作类型不能为空") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "登录用户id",hidden = true) |
| | | @ApiModelProperty(value = "登录用户id", hidden = true) |
| | | private Long userId; |
| | | } |