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;
|
}
|
}
|