package com.swfarm.biz.chain.bo;

import java.io.Serializable;

public class NamedPriceAdjustmentStep implements Serializable {

	private Long id;

	private String code;

	private String name;

	private String defaultSfmCode;

	private String defaultBuyerCountry;

	private String planName;

	private Double profitMargin;

	private Integer saleQuantityIncreaseThreshold;

	private Integer saleQuantityDecreaseThreshold;

	private Integer priority;

	private Boolean isInitialStep;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String stepCode) {
		this.code = stepCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String stepName) {
		this.name = stepName;
	}

	public String getDefaultSfmCode() {
		return defaultSfmCode;
	}

	public void setDefaultSfmCode(String defaultSfmCode) {
		this.defaultSfmCode = defaultSfmCode;
	}

	public String getDefaultBuyerCountry() {
		return defaultBuyerCountry;
	}

	public void setDefaultBuyerCountry(String defaultBuyerCountry) {
		this.defaultBuyerCountry = defaultBuyerCountry;
	}

	public String getPlanName() {
		return planName;
	}

	public void setPlanName(String planName) {
		this.planName = planName;
	}

	public Double getProfitMargin() {
		return profitMargin;
	}

	public void setProfitMargin(Double profitMargin) {
		this.profitMargin = profitMargin;
	}

	public Integer getSaleQuantityIncreaseThreshold() {
		return saleQuantityIncreaseThreshold;
	}

	public void setSaleQuantityIncreaseThreshold(Integer saleQuantityThreshold) {
		this.saleQuantityIncreaseThreshold = saleQuantityThreshold;
	}

	public Integer getSaleQuantityDecreaseThreshold() {
		return saleQuantityDecreaseThreshold;
	}

	public void setSaleQuantityDecreaseThreshold(Integer saleQuantityDecreaseThreshold) {
		this.saleQuantityDecreaseThreshold = saleQuantityDecreaseThreshold;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Boolean getIsInitialStep() {
		if (isInitialStep == null) {
			isInitialStep = false;
		}
		return isInitialStep;
	}

	public void setIsInitialStep(Boolean isInitialStep) {
		this.isInitialStep = isInitialStep;
	}

}
