package com.ks.lucky.pojo.DO;
|
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@Table("lucky_activity_open_info")
|
public class LuckyActivityOpenInfo implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
//达到开奖人数后开奖
|
public final static int OPEN_TYPE_PERSON = 1;
|
//达到开奖人数,并且已经达到开奖时间后开奖
|
public final static int OPEN_TYPE_PERSON_AND_TIME = 2;
|
|
private Long id;
|
|
@NotNull(message = "活动ID不能为空")
|
private Long activityId;
|
|
@NotNull(message = "开奖类型不能为空")
|
private Integer openType;
|
|
@NotNull(message = "最低开奖人数不能为空")
|
private Integer minPersonCount;
|
|
private Date preOpenTime;
|
|
private Date actualOpenTime;
|
|
private String remarks;
|
|
private Date createTime;
|
|
private Date updateTime;
|
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
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 Integer getOpenType() {
|
return openType;
|
}
|
|
public void setOpenType(Integer openType) {
|
this.openType = openType;
|
}
|
|
public Integer getMinPersonCount() {
|
return minPersonCount;
|
}
|
|
public void setMinPersonCount(Integer minPersonCount) {
|
this.minPersonCount = minPersonCount;
|
}
|
|
public Date getPreOpenTime() {
|
return preOpenTime;
|
}
|
|
public void setPreOpenTime(Date preOpenTime) {
|
this.preOpenTime = preOpenTime;
|
}
|
|
public Date getActualOpenTime() {
|
return actualOpenTime;
|
}
|
|
public void setActualOpenTime(Date actualOpenTime) {
|
this.actualOpenTime = actualOpenTime;
|
}
|
|
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;
|
}
|
}
|