Pu Zhibing
2025-02-27 f0a9a41697a8568e8b3bd3436c450e68b3298916
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
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;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 报名、取消报名党建活动
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-12-30 10:04
 **/
@Data
@ApiModel("报名、取消报名党建活动")
public class ActivitySignUpDTO {
 
    @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 = "操作类型不能为空")
    private Integer type;
 
    @ApiModelProperty(value = "登录用户id", hidden = true)
    private Long userId;
}