| | |
| | | package com.yeshi.fanli.dto.mq.order.body;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
|
| | |
|
| | | /**
|
| | |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public class OrderMQMsg extends BaseMQMsgBody{
|
| | | private String orderId;
|
| | | private Integer type;
|
| | | private Long uid;
|
| | | public class OrderMQMsg extends BaseMQMsgBody {
|
| | |
|
| | | public OrderMQMsg(String orderId, Integer type, Long uid) {
|
| | | 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;// 统计到的时间
|
| | | private boolean miandan;
|
| | |
|
| | | public OrderMQMsg(String orderId, Integer type, Long uid, int handleType, boolean valid, int delayHour,
|
| | | Date staticticDate, boolean miandan) {
|
| | | super();
|
| | | this.orderId = orderId;
|
| | | this.type = type;
|
| | | this.uid = uid;
|
| | | this.handleType = handleType;
|
| | | this.valid = valid;
|
| | | this.delayHour = delayHour;
|
| | | this.staticticDate = staticticDate;
|
| | | this.miandan = miandan;
|
| | | }
|
| | | |
| | |
|
| | | 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 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;
|
| | | }
|
| | |
|
| | | public boolean isMiandan() {
|
| | | return miandan;
|
| | | }
|
| | |
|
| | | public void setMiandan(boolean miandan) {
|
| | | this.miandan = miandan;
|
| | | }
|
| | | }
|