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.CardRule;
/**
* @author Dong
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name="data")
@XmlType(name = "CardRuleDTO", propOrder = {
"cardRuleList"
},namespace="http://com.topsun.posclient/CardRuleDTO")
public class CardRuleDTO implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private List<CardRule> cardRuleList;
@XmlElementWrapper(name="cardRuleList")
@XmlElement(name="CardRule")
public List<CardRule> getCardRuleList() {
return cardRuleList;
}
public void setCardRuleList(List<CardRule> cardRuleList) {
this.cardRuleList = cardRuleList;
}
}