package com.yeshi.fanli.entity.bus.tlj;
|
|
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_user_taolijin_detail")
|
public class UserTaoLiJinDetail {
|
|
public enum TaoLiJinDetailTypeEnum {
|
add("红包增加", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
reduce("成功使用扣除", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
sendBack("长期未使用收回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
refund("未使用成功退回", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
give("红包赠送", "http://img.flqapp.com/img/tlj/icon_tlj.png"),
|
giveBack("赠送退回 ", "http://img.flqapp.com/img/tlj/icon_tlj.png");
|
|
private final String desc;
|
private final String picture;
|
|
private TaoLiJinDetailTypeEnum(String desc, String picture) {
|
this.desc = desc;
|
this.picture = picture;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
}
|
|
@Expose
|
@Column(name = "utd_id")
|
private Long id;
|
|
@Column(name = "utd_uid")
|
private Long uid; // 用户id
|
|
@Expose
|
@Column(name = "utd_money")
|
private BigDecimal money; // 获得金额
|
|
@Expose
|
@Column(name = "utd_title")
|
private String title; // 操作内容
|
|
@Expose
|
@Column(name = "utd_type")
|
private TaoLiJinDetailTypeEnum type; //
|
|
@Expose
|
@Column(name = "utd_desc_info")
|
private String descInfo; // 详细信息
|
|
@Expose
|
@Column(name = "utd_remark")
|
private String remark; // 备注
|
|
@Expose
|
@Column(name = "utd_create_time")
|
private Date createTime;
|
|
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 TaoLiJinDetailTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(TaoLiJinDetailTypeEnum 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;
|
}
|
|
}
|