package com.pgf.mqspring.model; import java.io.Serializable; public class TelegramInfoModel implements Serializable { private String dispCode; private String fieldNo; private String itemName; private String itemLength; private String charDiv; private String repeatNum; private String groupNum; private String insDate; public TelegramInfoModel() { } public TelegramInfoModel(String dispCode, String fieldNo, String itemName, String itemLength, String charDiv, String repeatNum, String groupNum, String insDate) { this.dispCode = dispCode; this.fieldNo = fieldNo; this.itemName = itemName; this.itemLength = itemLength; this.charDiv = charDiv; this.repeatNum = repeatNum; this.groupNum = groupNum; this.insDate = insDate; } public String getDispCode() { return dispCode; } public void setDispCode(String dispCode) { this.dispCode = dispCode; } public String getFieldNo() { return fieldNo; } public void setFieldNo(String fieldNo) { this.fieldNo = fieldNo; } public String getItemName() { return itemName; } public void setItemName(String itemName) { this.itemName = itemName; } public String getItemLength() { return itemLength; } public void setItemLength(String itemLength) { this.itemLength = itemLength; } public String getCharDiv() { return charDiv; } public void setCharDiv(String charDiv) { this.charDiv = charDiv; } public String getRepeatNum() { return repeatNum; } public void setRepeatNum(String repeatNum) { this.repeatNum = repeatNum; } public String getGroupNum() { return groupNum; } public void setGroupNum(String groupNum) { this.groupNum = groupNum; } public String getInsDate() { return insDate; } public void setInsDate(String insDate) { this.insDate = insDate; } @Override public String toString() { return String.format("%s, %s, %s, %s, %s, %s, %s, %s", getDispCode(), getFieldNo(), getItemName(), getItemLength(), getCharDiv(), getRepeatNum(), getGroupNum(), getInsDate()); } }