com.liberologico.cloudesire.cmw.model.dto.DiskSpacePricingDTO Maven / Gradle / Ivy
The newest version!
package com.liberologico.cloudesire.cmw.model.dto;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
public class DiskSpacePricingDTO extends BaseEntityDTO
{
@NotNull
@Valid
private UrlEntityDTO cloudProvider;
@NotNull
private BigDecimal price;
public UrlEntityDTO getCloudProvider()
{
return cloudProvider;
}
public void setCloudProvider( UrlEntityDTO cloudProvider )
{
this.cloudProvider = cloudProvider;
}
public BigDecimal getPrice()
{
return price;
}
public void setPrice( BigDecimal price )
{
this.price = price;
}
}