admin
2020-12-31 74196bcc835d9b76cdd1bc3d85b0dfbe0191fc00
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.ks.lucky.pojo.DO;
 
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
 
public class LuckyActivityOpenInfo implements Serializable {
 
    //达到开奖人数后开奖
    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 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 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;
    }
}