package com.yeshi.fanli.dto.order;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 订单到账MQ消息
|
*
|
* @author Administrator
|
*
|
*/
|
public class OrderMoneyRecievedMQMsgDTO {
|
public static final int TYPE_ZIGOU = 1;// 自购到账
|
public static final int TYPE_SHARE = 2;// 分享到账
|
public static final int TYPE_INVITE = 3;// 邀请到账
|
private int type;// 到账类型
|
private Long uid;
|
private Integer sourceType;// 订单来源类型
|
private String orderId;// 订单号
|
private BigDecimal money;// 到账金额
|
private Date date;// 到账时间
|
|
public OrderMoneyRecievedMQMsgDTO() {
|
|
}
|
|
public OrderMoneyRecievedMQMsgDTO(int type, Long uid, Integer sourceType, String orderId, BigDecimal money,
|
Date date) {
|
this.type = type;
|
this.uid = uid;
|
this.sourceType = sourceType;
|
this.orderId = orderId;
|
this.money = money;
|
this.date = date;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public Integer getSourceType() {
|
return sourceType;
|
}
|
|
public void setSourceType(Integer sourceType) {
|
this.sourceType = sourceType;
|
}
|
|
public String getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(String orderId) {
|
this.orderId = orderId;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public Date getDate() {
|
return date;
|
}
|
|
public void setDate(Date date) {
|
this.date = date;
|
}
|
|
}
|