CeDo
2021-05-26 32e138c5a0afe37a27e23131698eb90707cbae98
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.panzhihua.common.model.dtos.grid;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonFormat;
 
 
 
/**
 * 创建表单
 *
 * @author cedoo email:cedoo(a)qq.com
 * @version 1.0
 * @since 1.0
 * @date 2021-05-26
 * */
@Data
@ApiModel("创建用户协议和隐私政策信息请求参数")
public class EventApplicationUserNoticeAddDTO {
 
    @Max(32767)
    @ApiModelProperty(value = "应用ID", hidden = false, example = "1")
    private Integer productId;
 
    @Length(max=50)
    @ApiModelProperty(value = "应用名称", hidden = false, example = "")
    private String productName;
 
    @Max(32767)
    @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)", hidden = false, example = "1")
    private Integer action;
 
    @Length(max=1000)
    @ApiModelProperty(value = "内容", hidden = false, example = "")
    private String content;
 
 
    @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1")
    private Long userId;
 
}