Administrator
2018-11-05 2d950dce7919a2bc39464f9d264f7b96b69f6d1e
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
package com.yeshi.fanli.entity.bus.user;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * (没用过)
 * @author cxx
 *
 * @date 2018年1月29日
 */
@Entity
@Table(name="yeshi_ec_hongbao_activity")
public class HongBaoActivity {
    
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private long id;
    
    private String name; //活动名称
    private String presentation; //活动介绍
    @Column(name="preset_condition")
    private String presetCondition;  //发放预置条件
    @Column(name="condition_a")
    private Boolean conditionA; //条件A
    private Long issuetime; //发放时间
    private Long unlocktime; //解锁时间
    private Double money; //红包金额
    @Column(name="ratio")
    private Double ratio; //红包比例
    private Long begintime; //活动�?��时间
    private Long endtime; //活动结束时间
    private Long createtime; //活动创建时间
    private Integer orderby; //排序
    
    public HongBaoActivity() {
        // TODO Auto-generated constructor stub
    }
 
    public HongBaoActivity(long id) {
        super();
        this.id = id;
    }
 
    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getPresentation() {
        return presentation;
    }
 
    public void setPresentation(String presentation) {
        this.presentation = presentation;
    }
 
    public String getPresetCondition() {
        return presetCondition;
    }
 
    public void setPresetCondition(String presetCondition) {
        this.presetCondition = presetCondition;
    }
 
    public Boolean getConditionA() {
        return conditionA;
    }
 
    public void setConditionA(Boolean conditionA) {
        this.conditionA = conditionA;
    }
 
    public Long getIssuetime() {
        return issuetime;
    }
 
    public void setIssuetime(Long issuetime) {
        this.issuetime = issuetime;
    }
 
    public Long getUnlocktime() {
        return unlocktime;
    }
 
    public void setUnlocktime(Long unlocktime) {
        this.unlocktime = unlocktime;
    }
 
    public Double getMoney() {
        return money;
    }
 
    public void setMoney(Double money) {
        this.money = money;
    }
    
    public Double getRatio() {
        return ratio;
    }
 
    public void setRatio(Double ratio) {
        this.ratio = ratio;
    }
 
    public Long getBegintime() {
        return begintime;
    }
 
    public void setBegintime(Long begintime) {
        this.begintime = begintime;
    }
 
    public Long getEndtime() {
        return endtime;
    }
 
    public void setEndtime(Long endtime) {
        this.endtime = endtime;
    }
 
    public Long getCreatetime() {
        return createtime;
    }
 
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
 
    public Integer getOrderby() {
        return orderby;
    }
 
    public void setOrderby(Integer orderby) {
        this.orderby = orderby;
    }
    
}