admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/dto/mq/order/body/OrderMQMsg.java
@@ -1,97 +1,117 @@
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;
   }
}
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;// 统计到的时间
   private Date placeTime;//下单时间
   private boolean miandan;
   public OrderMQMsg(String orderId, Integer type, Long uid, int handleType, boolean valid, int delayHour,
         Date staticticDate, boolean miandan,Date placeTime) {
      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;
      this.placeTime=placeTime;
   }
   public Date getPlaceTime() {
      return placeTime;
   }
   public void setPlaceTime(Date placeTime) {
      this.placeTime = placeTime;
   }
   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;
   }
   public boolean isMiandan() {
      return miandan;
   }
   public void setMiandan(boolean miandan) {
      this.miandan = miandan;
   }
}