PromotionConditions.java 721 Bytes
package com.yoho.search.models;

import java.io.Serializable;
import java.util.List;

public class PromotionConditions implements Serializable {

	private static final long serialVersionUID = -242838779122816698L;

	/**
	 * all:全部条件都满足,并且 any:任何一个满足,或者
	 */
	private String aggregator;

	private List<PromotionParam> promotionParams;

	public String getAggregator() {
		return aggregator;
	}

	public void setAggregator(String aggregator) {
		this.aggregator = aggregator;
	}

	public List<PromotionParam> getPromotionParams() {
		return promotionParams;
	}

	public void setPromotionParams(List<PromotionParam> promotionParams) {
		this.promotionParams = promotionParams;
	}

}