package com.topsun.posclient.datamodel.dto; import java.io.Serializable; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.topsun.posclient.datamodel.ItemIndex; @XmlAccessorType(XmlAccessType.PROPERTY) @XmlRootElement(name="data") @XmlType(name = "ItemIndexDTO", propOrder = { "itemIndexList" },namespace="http://com.topsun.posclient/ItemIndexDTO") public class ItemIndexDTO implements Serializable { /** * */ private static final long serialVersionUID = 1L; private List<ItemIndex> itemIndexList;//单品数据索引 @XmlElementWrapper(name="itemIndexList") @XmlElement(name="ItemIndex") public final List<ItemIndex> getItemIndexList() { return itemIndexList; } public final void setItemIndexList(List<ItemIndex> itemIndexList) { this.itemIndexList = itemIndexList; } }