package com.yeshi.fanli.dto.mq.order.body;
|
|
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;
|
|
public OrderMQMsg(String orderId, Integer type, Long uid, int handleType, boolean valid) {
|
super();
|
this.orderId = orderId;
|
this.type = type;
|
this.uid = uid;
|
this.handleType = handleType;
|
this.valid = valid;
|
}
|
|
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;
|
}
|
}
|