package com.yeshi.fanli.entity.money;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
/**
|
* 用户欠款
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_user_debt")
|
public class UserMoneyDebt {
|
public enum UserMoneyDebtTypeEnum {
|
order("维权退款"), other("其他");
|
private final String desc;
|
|
private UserMoneyDebtTypeEnum(String desc) {
|
this.desc = desc;
|
}
|
public String getDesc() {
|
return desc;
|
}
|
}
|
|
@Column(name = "ud_id")
|
private Long id;
|
@Column(name = "ud_uid")
|
private Long uid;
|
@Column(name = "ud_origin_money")
|
private BigDecimal originMoney;
|
@Column(name = "ud_left_money")
|
private BigDecimal leftMoney;
|
@Column(name = "ud_type")
|
private UserMoneyDebtTypeEnum type;
|
@Column(name = "ud_source_id")
|
private Long sourceId;
|
@Column(name = "ud_beizhu")
|
private String beiZhu;
|
@Column(name = "ud_create_time")
|
private Date createTime;
|
@Column(name = "ud_update_time")
|
private Date updateTime;
|
|
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 getOriginMoney() {
|
return originMoney;
|
}
|
|
public void setOriginMoney(BigDecimal originMoney) {
|
this.originMoney = originMoney;
|
}
|
|
public BigDecimal getLeftMoney() {
|
return leftMoney;
|
}
|
|
public void setLeftMoney(BigDecimal leftMoney) {
|
this.leftMoney = leftMoney;
|
}
|
|
public UserMoneyDebtTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(UserMoneyDebtTypeEnum type) {
|
this.type = type;
|
}
|
|
public Long getSourceId() {
|
return sourceId;
|
}
|
|
public void setSourceId(Long sourceId) {
|
this.sourceId = sourceId;
|
}
|
|
public String getBeiZhu() {
|
return beiZhu;
|
}
|
|
public void setBeiZhu(String beiZhu) {
|
this.beiZhu = beiZhu;
|
}
|
|
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;
|
}
|
|
}
|