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