package com.yeshi.fanli.entity.redpack;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
import com.google.gson.annotations.Expose;
|
|
/**
|
* 红包明细
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_red_pack_detail")
|
public class RedPackDetail {
|
public enum RedPackDetailTypeEnum {
|
refund("红包退回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
deduct("红包涉嫌违规", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
forbid("涉嫌恶意机刷红包", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
newUserReward("新人奖励", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
invite("立得现金", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
increaseReward("递增奖励", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
seriesReward("连续奖励", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
giveOthers("红包赠送待领取中", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
|
giveOthersSucceed("红包赠送领取成功", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
|
giveOthersFail("红包赠送超时退回", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
|
giveOthersReceive("好友赠送", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
|
useByShopOrder("商城订单使用", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
shopOrderDrawBack("商城订单退回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
redExchange("红包提现中", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
|
redExchangePass("红包提现成功", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
|
redExchangeReject("红包提现失败", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
|
redMonthly("月结红包", "http://img.flqapp.com/img/tlj/icon_tlj.png");
|
|
private final String desc;
|
private final String picture;
|
|
private RedPackDetailTypeEnum(String desc, String picture) {
|
this.desc = desc;
|
this.picture = picture;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
}
|
|
@Expose
|
@Column(name = "rpd_id")
|
private Long id;
|
// 唯一标识
|
@Column(name = "rpd_identify_code")
|
private String identifyCode;
|
@Expose
|
@Column(name = "rpd_uid")
|
private Long uid;
|
@Expose
|
@Column(name = "rpd_money")
|
private BigDecimal money;
|
@Expose
|
@Column(name = "rpd_title")
|
private String title;
|
@Expose
|
@Column(name = "rpd_type")
|
private RedPackDetailTypeEnum type;
|
@Expose
|
@Column(name = "rpd_desc_info")
|
private String descInfo;
|
@Expose
|
@Column(name = "rpd_remark")
|
private String remark;
|
@Expose
|
@Column(name = "rpd_create_time")
|
private Date createTime;
|
// 是否显示
|
@Column(name = "rpd_display")
|
private Boolean display;
|
|
private BigDecimal balance;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public RedPackDetailTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(RedPackDetailTypeEnum type) {
|
this.type = type;
|
}
|
|
public String getDescInfo() {
|
return descInfo;
|
}
|
|
public void setDescInfo(String descInfo) {
|
this.descInfo = descInfo;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getIdentifyCode() {
|
return identifyCode;
|
}
|
|
public void setIdentifyCode(String identifyCode) {
|
this.identifyCode = identifyCode;
|
}
|
|
public Boolean getDisplay() {
|
return display;
|
}
|
|
public void setDisplay(Boolean display) {
|
this.display = display;
|
}
|
|
public BigDecimal getBalance() {
|
return balance;
|
}
|
|
public void setBalance(BigDecimal balance) {
|
this.balance = balance;
|
}
|
}
|