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;
|
}
|
}
|