package com.jreaper.common.model.entity.search.impl;

import com.jreaper.common.model.entity.AbstractEntity;
import com.jreaper.common.model.entity.Entity;
import com.jreaper.common.model.entity.search.SearchFacet;
import com.jreaper.common.model.entity.search.SearchFacetRange;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by roman on 13.02.15.
 */
public class SearchFacetRangeImpl extends AbstractEntity implements SearchFacetRange, Serializable {

    private static final long serialVersionUID = 3340271911610680817L;

    protected SearchFacet searchFacet = new SearchFacetImpl();

    protected BigDecimal minValue;

    protected BigDecimal maxValue;

    @Override
    public SearchFacet getSearchFacet() {
        return searchFacet;
    }

    @Override
    public void setSearchFacet(SearchFacet searchFacet) {
        this.searchFacet = searchFacet;
    }

    @Override
    public BigDecimal getMinValue() {
        return minValue;
    }

    @Override
    public void setMinValue(BigDecimal minValue) {
        this.minValue = minValue;
    }

    @Override
    public BigDecimal getMaxValue() {
        return maxValue;
    }

    @Override
    public void setMaxValue(BigDecimal maxValue) {
        this.maxValue = maxValue;
    }
}
