package com.pgf.mqspring.model; import java.io.Serializable; public class TestModel implements Serializable { private String id; private String msgKind; private String facility; private String date; private String time; private String body; public TestModel() { } public TestModel(String id, String body) { this.id = id; this.body = body; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getBody() { return body; } public void setBody(String body) { this.body = body; } public String getMsgKind() { return msgKind; } public void setMsgKind(String msgKind) { this.msgKind = msgKind; } public String getFacility() { return facility; } public void setFacility(String facility) { this.facility = facility; } public String getDate() { return date; } public void setDate(String date) { this.date = date; } public String getTime() { return time; } public void setTime(String time) { this.time = time; } @Override public String toString() { return String.format("TestModel{id=%s, msgKind=%s, facility=%s, date=%s, time=%s, body=%s}", getId(), getMsgKind(), getFacility(), getDate(), getTime(), getBody()); } }