yujian
2019-11-04 148af6b2f57be264c84d0991237fbd7ddea491a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package com.yeshi.fanli.dto.mq.order.body;
 
import java.math.BigDecimal;
import java.util.Date;
 
import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
 
/**
 * 订单到账MQ消息
 * 
 * @author Administrator
 *
 */
public class OrderMoneyRecievedMQMsg extends BaseMQMsgBody {
    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;// 到账时间
    private Boolean orderFirst;// 该订单是否是首次到账
 
    public Boolean getOrderFirst() {
        return orderFirst;
    }
 
    public void setOrderFirst(Boolean orderFirst) {
        this.orderFirst = orderFirst;
    }
 
    public OrderMoneyRecievedMQMsg() {
        super();
    }
 
    public OrderMoneyRecievedMQMsg(int type, Long uid, Integer sourceType, String orderId, BigDecimal money,
            Date date) {
        super();
        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;
    }
 
}