package com.pgf.mqspring.model; import java.io.Serializable; import java.util.HashMap; import java.util.List; public class SampleRequestModel implements Serializable { private String id; private String msg; private List> mqcih; public SampleRequestModel(String id, String msg, List> mqcih) { this.id = id; this.msg = msg; this.mqcih = mqcih; } // デフォルトコンストラクタ public SampleRequestModel() { } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public List> getMqcih() { return mqcih; } public void setMqcih(List> mqcih) { this.mqcih = mqcih; } @Override public String toString() { return String.format("{id=%s,msg=%s}", getId(), getMsg()); } }