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

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

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

import javax.validation.Valid;

public class MinimumCostDTO extends DTO
{
    private VATPriceDTO cost;

    private Integer billingPeriod;

    private Integer lifespan;

    @Valid
    private UrlEntityDTO cheapest;

    public MinimumCostDTO( VATPriceDTO cost, Integer billingPeriod, Integer lifespan, UrlEntityDTO cheapest )
    {
        this.cost = cost;
        this.billingPeriod = billingPeriod;
        this.lifespan = lifespan;
        this.cheapest = cheapest;
    }

    public MinimumCostDTO()
    {
    }

    public VATPriceDTO getCost()
    {
        return cost;
    }

    public Integer getBillingPeriod()
    {
        return billingPeriod;
    }

    public Integer getLifespan()
    {
        return lifespan;
    }

    public UrlEntityDTO getCheapest()
    {
        return cheapest;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy