首页>代码>Spring Boot整合Apache ActiveMQ实现发送消息的实例>/accessing-headers/src/main/java/com/memorynotfound/integration/Order.java
package com.memorynotfound.integration;

import java.io.Serializable;
import java.math.BigDecimal;

public class Order implements Serializable {

    private String from;
    private String to;
    private BigDecimal amount;

    public Order() {
    }

    public Order(String from, String to, BigDecimal amount) {
        this.from = from;
        this.to = to;
        this.amount = amount;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Order{" +
                "from='" + from + '\'' +
                ", to='" + to + '\'' +
                ", amount=" + amount +
                '}';
    }
}
最近下载更多
1358849392  LV21 2023年6月9日
mudingc木钉  LV30 2021年6月16日
wz66666  LV9 2021年6月7日
caozongan  LV19 2021年4月1日
二手玫瑰  LV15 2021年3月27日
chengqiang  LV13 2021年3月25日
Druid2017  LV4 2021年1月29日
qw112233  LV1 2021年1月11日
626364708  LV4 2020年12月15日
newhaijun  LV15 2020年12月13日
最近浏览更多
woldxy  LV12 2023年9月28日
张朕朕  LV3 2023年9月10日
西瓜哥哥  LV4 2023年8月8日
1358849392  LV21 2023年6月9日
renyuan  LV9 2023年4月27日
小资李  LV13 2023年3月30日
如柴骨瘦假胸硅胶  LV11 2023年3月14日
Rommel  LV27 2023年2月13日
hzhsh0223  LV18 2023年2月3日
kissnicky  LV7 2023年1月31日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友