| | |
| | | package com.yeshi.fanli.dto.mq.order.body;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
|
| | |
|
| | | /**
|
| | | * 订单到账MQ消息
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public class OrderMoneyRecievedMQMsg extends BaseMQMsgBody {
|
| | | public static final int TYPE_ZIGOU = 1;// 自购到账
|
| | | public static final int TYPE_SHARE = 2;// 分享到账
|
| | | public static final int TYPE_INVITE = 3;// 邀请到账
|
| | | private int type;// 到账类型
|
| | | private Long uid;
|
| | | private Integer sourceType;// 订单来源类型
|
| | | private String orderId;// 订单号
|
| | | private BigDecimal money;// 到账金额
|
| | | private Date date;// 到账时间
|
| | | private Boolean orderFirst;// 该订单是否是首次到账
|
| | | private int delayHour;// 延时的时间(以小时计算)
|
| | |
|
| | | public int getDelayHour() {
|
| | | return delayHour;
|
| | | }
|
| | |
|
| | | public void setDelayHour(int delayHour) {
|
| | | this.delayHour = delayHour;
|
| | | }
|
| | |
|
| | | public Boolean getOrderFirst() {
|
| | | return orderFirst;
|
| | | }
|
| | |
|
| | | public void setOrderFirst(Boolean orderFirst) {
|
| | | this.orderFirst = orderFirst;
|
| | | }
|
| | |
|
| | | public OrderMoneyRecievedMQMsg() {
|
| | | super();
|
| | | }
|
| | |
|
| | | public OrderMoneyRecievedMQMsg(int type, Long uid, Integer sourceType, String orderId, BigDecimal money, Date date,
|
| | | int delayHour) {
|
| | | super();
|
| | | this.type = type;
|
| | | this.uid = uid;
|
| | | this.sourceType = sourceType;
|
| | | this.orderId = orderId;
|
| | | this.money = money;
|
| | | this.date = date;
|
| | | this.delayHour = delayHour;
|
| | | }
|
| | |
|
| | | public int getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(int type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public Integer getSourceType() {
|
| | | return sourceType;
|
| | | }
|
| | |
|
| | | public void setSourceType(Integer sourceType) {
|
| | | this.sourceType = sourceType;
|
| | | }
|
| | |
|
| | | public String getOrderId() {
|
| | | return orderId;
|
| | | }
|
| | |
|
| | | public void setOrderId(String orderId) {
|
| | | this.orderId = orderId;
|
| | | }
|
| | |
|
| | | public BigDecimal getMoney() {
|
| | | return money;
|
| | | }
|
| | |
|
| | | public void setMoney(BigDecimal money) {
|
| | | this.money = money;
|
| | | }
|
| | |
|
| | | public Date getDate() {
|
| | | return date;
|
| | | }
|
| | |
|
| | | public void setDate(Date date) {
|
| | | this.date = date;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.dto.mq.order.body; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import com.yeshi.fanli.dto.mq.BaseMQMsgBody; |
| | | |
| | | /** |
| | | * 订单到账MQ消息 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public class OrderMoneyRecievedMQMsg extends BaseMQMsgBody { |
| | | public static final int TYPE_ZIGOU = 1;// 自购到账 |
| | | public static final int TYPE_SHARE = 2;// 分享到账 |
| | | public static final int TYPE_INVITE = 3;// 邀请到账 |
| | | private int type;// 到账类型 |
| | | private Long uid; |
| | | private Integer sourceType;// 订单来源类型 |
| | | private String orderId;// 订单号 |
| | | private BigDecimal money;// 到账金额 |
| | | private Date date;// 到账时间 |
| | | private Boolean orderFirst;// 该订单是否是首次到账 |
| | | private int delayHour;// 延时的时间(以小时计算) |
| | | |
| | | public int getDelayHour() { |
| | | return delayHour; |
| | | } |
| | | |
| | | public void setDelayHour(int delayHour) { |
| | | this.delayHour = delayHour; |
| | | } |
| | | |
| | | public Boolean getOrderFirst() { |
| | | return orderFirst; |
| | | } |
| | | |
| | | public void setOrderFirst(Boolean orderFirst) { |
| | | this.orderFirst = orderFirst; |
| | | } |
| | | |
| | | public OrderMoneyRecievedMQMsg() { |
| | | super(); |
| | | } |
| | | |
| | | public OrderMoneyRecievedMQMsg(int type, Long uid, Integer sourceType, String orderId, BigDecimal money, Date date, |
| | | int delayHour) { |
| | | super(); |
| | | this.type = type; |
| | | this.uid = uid; |
| | | this.sourceType = sourceType; |
| | | this.orderId = orderId; |
| | | this.money = money; |
| | | this.date = date; |
| | | this.delayHour = delayHour; |
| | | } |
| | | |
| | | public int getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(int type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public Integer getSourceType() { |
| | | return sourceType; |
| | | } |
| | | |
| | | public void setSourceType(Integer sourceType) { |
| | | this.sourceType = sourceType; |
| | | } |
| | | |
| | | public String getOrderId() { |
| | | return orderId; |
| | | } |
| | | |
| | | public void setOrderId(String orderId) { |
| | | this.orderId = orderId; |
| | | } |
| | | |
| | | public BigDecimal getMoney() { |
| | | return money; |
| | | } |
| | | |
| | | public void setMoney(BigDecimal money) { |
| | | this.money = money; |
| | | } |
| | | |
| | | public Date getDate() { |
| | | return date; |
| | | } |
| | | |
| | | public void setDate(Date date) { |
| | | this.date = date; |
| | | } |
| | | |
| | | } |