package com.yeshi.fanli.entity.bus.msg;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
|
import com.yeshi.fanli.entity.bus.user.Extract;
|
import com.yeshi.fanli.entity.bus.user.UserInfo;
|
|
/**
|
* 奖金到账记录
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_msg_money")
|
public class MsgMoneyDetail {
|
public enum MsgTypeMoneyTypeEnum {
|
share("分享奖金"), invite("邀请奖金"), fanli("返利到账"), extract("提现"), extractValid("提现账号验证"), shareWeiQuan(
|
"分享奖金扣除"), inviteWeiQuan("邀请奖金扣除"), fanliWeiQuan("返利扣除"), orderReward("返利奖励"), systemEqualize("系统补齐"),fanliElme("返利到账");
|
private final String desc;
|
|
private MsgTypeMoneyTypeEnum(String desc) {
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
}
|
|
@Column(name = "mm_id")
|
private Long id;
|
@Column(name = "mm_uid")
|
private UserInfo user;
|
@Column(name = "mm_type")
|
private MsgTypeMoneyTypeEnum msgType;// 消息类型
|
@Column(name = "mm_order_count")
|
private Integer orderCount;// 订单数(奖金适用)
|
@Column(name = "mm_goods_count")
|
private Integer goodsCount;// 商品数
|
@Column(name = "mm_order_id")
|
private String orderId;// 订单号(返利适用)
|
@Column(name = "mm_order_type")
|
private Integer orderType;
|
@Column(name = "mm_source_id")
|
private Extract extract;// 提现详情
|
private AlipayAccountValidNormalHistory alipayAccountValid;// 提现账号验证详情
|
@Column(name = "mm_money")
|
private BigDecimal money;// 到账资金
|
@Column(name = "mm_balance")
|
private BigDecimal balance;// 账户余额
|
@Column(name = "mm_state_desc")
|
private String stateDesc;// 状态说明
|
@Column(name = "mm_beizhu")
|
private String beiZhu;// 备注
|
@Column(name = "mm_create_time")
|
private Date createTime;
|
@Column(name = "mm_update_time")
|
private Date updateTime;
|
@Column(name = "mm_read")
|
private Boolean read;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public UserInfo getUser() {
|
return user;
|
}
|
|
public void setUser(UserInfo user) {
|
this.user = user;
|
}
|
|
public String getStateDesc() {
|
return stateDesc;
|
}
|
|
public void setStateDesc(String stateDesc) {
|
this.stateDesc = stateDesc;
|
}
|
|
public MsgTypeMoneyTypeEnum getMsgType() {
|
return msgType;
|
}
|
|
public void setMsgType(MsgTypeMoneyTypeEnum msgType) {
|
this.msgType = msgType;
|
}
|
|
public Integer getOrderCount() {
|
return orderCount;
|
}
|
|
public void setOrderCount(Integer orderCount) {
|
this.orderCount = orderCount;
|
}
|
|
public Integer getGoodsCount() {
|
return goodsCount;
|
}
|
|
public void setGoodsCount(Integer goodsCount) {
|
this.goodsCount = goodsCount;
|
}
|
|
public String getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(String orderId) {
|
this.orderId = orderId;
|
}
|
|
public Extract getExtract() {
|
return extract;
|
}
|
|
public void setExtract(Extract extract) {
|
this.extract = extract;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public BigDecimal getBalance() {
|
return balance;
|
}
|
|
public void setBalance(BigDecimal balance) {
|
this.balance = balance;
|
}
|
|
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;
|
}
|
|
public Boolean getRead() {
|
return read;
|
}
|
|
public void setRead(Boolean read) {
|
this.read = read;
|
}
|
|
public AlipayAccountValidNormalHistory getAlipayAccountValid() {
|
return alipayAccountValid;
|
}
|
|
public void setAlipayAccountValid(AlipayAccountValidNormalHistory alipayAccountValid) {
|
this.alipayAccountValid = alipayAccountValid;
|
}
|
|
public Integer getOrderType() {
|
return orderType;
|
}
|
|
public void setOrderType(Integer orderType) {
|
this.orderType = orderType;
|
}
|
|
}
|