package com.ks.lucky.pojo.DO;
|
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
public class LuckyActivityUserWeightRecord implements Serializable {
|
private Long id;
|
|
@NotNull(message = "活动ID不能为空")
|
private Long activityId;
|
|
@NotNull(message = "应用ID不能为空")
|
private Long appId;
|
@NotEmpty(message = "用户ID不能为空")
|
private String uid;
|
@NotNull(message = "权重不能为空")
|
private Integer weight;
|
@NotEmpty(message = "标题不能为空")
|
private String title;
|
|
private String desc;
|
|
private Date createTime;
|
|
private Date updateTime;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getActivityId() {
|
return activityId;
|
}
|
|
public void setActivityId(Long activityId) {
|
this.activityId = activityId;
|
}
|
|
public Long getAppId() {
|
return appId;
|
}
|
|
public void setAppId(Long appId) {
|
this.appId = appId;
|
}
|
|
public String getUid() {
|
return uid;
|
}
|
|
public void setUid(String uid) {
|
this.uid = uid == null ? null : uid.trim();
|
}
|
|
public Integer getWeight() {
|
return weight;
|
}
|
|
public void setWeight(Integer weight) {
|
this.weight = weight;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title == null ? null : title.trim();
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc == null ? null : desc.trim();
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|