All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liberologico.cloudesire.cmw.model.dto.BaseResellingPriceDTO Maven / Gradle / Ivy

The newest version!
package com.liberologico.cloudesire.cmw.model.dto;

import javax.validation.Valid;
import java.util.Objects;

abstract class BaseResellingPriceDTO extends BaseEntityDTO
{
    @Valid
    protected UrlEntityDTO resellerPricing;

    @Valid
    protected ResellingPriceDTO price;

    // region Auto-generated code
    public UrlEntityDTO getResellerPricing()
    {
        return resellerPricing;
    }

    public void setResellerPricing( UrlEntityDTO resellerPricing )
    {
        this.resellerPricing = resellerPricing;
    }

    public ResellingPriceDTO getPrice()
    {
        return price;
    }

    public void setPrice( ResellingPriceDTO price )
    {
        this.price = price;
    }

    @Override
    public boolean equals( Object o )
    {
        if ( this == o ) return true;
        if ( o == null || getClass() != o.getClass() ) return false;
        BaseResellingPriceDTO that = (BaseResellingPriceDTO) o;
        return Objects.equals( resellerPricing, that.resellerPricing );
    }

    @Override
    public int hashCode()
    {
        return Objects.hash( resellerPricing );
    }
    // endregion
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy