package com.tenwa.app.invoice.request; import javax.xml.bind.annotation.*; import java.util.List; @XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement(name = "dyfpfs") public class InvoiceRequestDyfpfs { @XmlAttribute private String count ; @XmlElement(name="group") private List groupList ; public String getCount() { return count; } public void setCount(String count) { this.count = count; } public List getGroupList() { return groupList; } public void setGroupList(List groupList) { this.groupList = groupList; } }