yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
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.util.Date;
 
import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
 
/**
 * 红包MQ消息
 * 
 * @author Administrator
 *
 */
public class OrderMQMsg extends BaseMQMsgBody {
 
    public static int HANDLE_TYPE_ADD = 1;// 新增
    public static int HANDLE_TYPE_UPDATE = 2;// 修改
    public static int HANDLE_TYPE_ADD_AND_UPDATE = 12;// 部分新增,部分修改
    private String orderId;
    private Integer type;// 订单类型
    private Long uid;
    private int handleType; // 操作类型
    private boolean valid;
    private int delayHour;// 延时的时间(小时记)
    private Date staticticDate;// 统计到的时间
 
    public OrderMQMsg(String orderId, Integer type, Long uid, int handleType, boolean valid, int delayHour,
            Date staticticDate) {
        super();
        this.orderId = orderId;
        this.type = type;
        this.uid = uid;
        this.handleType = handleType;
        this.valid = valid;
        this.delayHour = delayHour;
        this.staticticDate = staticticDate;
    }
 
    public Date getStaticticDate() {
        return staticticDate;
    }
 
    public void setStaticticDate(Date staticticDate) {
        this.staticticDate = staticticDate;
    }
 
    public int getDelayHour() {
        return delayHour;
    }
 
    public void setDelayHour(int delayHour) {
        this.delayHour = delayHour;
    }
 
    public OrderMQMsg() {
        super();
    }
 
    public String getOrderId() {
        return orderId;
    }
 
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public int getHandleType() {
        return handleType;
    }
 
    public void setHandleType(int handleType) {
        this.handleType = handleType;
    }
 
    public boolean isValid() {
        return valid;
    }
 
    public void setValid(boolean valid) {
        this.valid = valid;
    }
}