admin
2020-12-16 e0d4647635dd7ca974e2f147da254e8cefe6821a
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.ks.lucky.pojo.DTO.sponsorad;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
 
public class AlipayLifeAdInfo implements Serializable {
 
    /**
     * 图标
     */
    @NotEmpty(message = "图标不能为空")
    private String icon;
    //名称
    /**
     * 名称
     */
    @NotEmpty(message = "名称不能为空")
    private String name;
    /**
     * 简介
     */
    @NotEmpty(message = "简介不能为空")
    private String desc;
 
    /**
     * senceId
     */
    @NotEmpty(message = "sceneId不能为空")
    private String sceneId;
 
 
    /**
     * 是否必须关注
     */
    @NotNull(message = "是否必须关注")
    private Boolean mustAttention;
 
 
    public Boolean getMustAttention() {
        return mustAttention;
    }
 
    public void setMustAttention(Boolean mustAttention) {
        this.mustAttention = mustAttention;
    }
 
    public String getIcon() {
        return icon;
    }
 
    public void setIcon(String icon) {
        this.icon = icon;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
 
    public String getSceneId() {
        return sceneId;
    }
 
    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }
}