package cn.buk.api.dto.hotel; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; /** * Created by william on 2015-1-22. */ @XStreamAlias("RatePlan") public class HotelAvailResponseRatePlan { //RatePlan RatePlanCode="5883732" RatePlanName="双床房" AvailableQuantity="4" PrepaidIndicator="false" @XStreamAlias("RatePlanCode") @XStreamAsAttribute private String ratePlanCode; @XStreamAlias("RatePlanName") @XStreamAsAttribute private String ratePlanName; @XStreamAlias("AvailableQuantity") @XStreamAsAttribute private int availableQuantity; @XStreamAlias("PrepaidIndicator") @XStreamAsAttribute private boolean prepaidIndicator; @XStreamAlias("RatePlanDescription") private Description description; @XStreamAlias("MealsIncluded") private MealsIncluded mealsIncluded; public String getRatePlanCode() { return ratePlanCode; } public void setRatePlanCode(String ratePlanCode) { this.ratePlanCode = ratePlanCode; } public String getRatePlanName() { return ratePlanName; } public void setRatePlanName(String ratePlanName) { this.ratePlanName = ratePlanName; } public int getAvailableQuantity() { return availableQuantity; } public void setAvailableQuantity(int availableQuantity) { this.availableQuantity = availableQuantity; } public boolean isPrepaidIndicator() { return prepaidIndicator; } public void setPrepaidIndicator(boolean prepaidIndicator) { this.prepaidIndicator = prepaidIndicator; } public MealsIncluded getMealsIncluded() { return mealsIncluded; } public void setMealsIncluded(MealsIncluded mealsIncluded) { this.mealsIncluded = mealsIncluded; } public Description getDescription() { return description; } public void setDescription(Description description) { this.description = description; } }