Package com.deusto.coffeestack.dto
Class StockInsumoResponse
java.lang.Object
com.deusto.coffeestack.dto.StockInsumoResponse
Consolidated stock view for a single Insumo.
tieneRiesgoFaltante is true when the total available
quantity (cantidadTotal) is below the insumo's
stockMinimoAlerta threshold.
-
Constructor Summary
ConstructorsConstructorDescriptionStockInsumoResponse(InsumoResponse insumo, double cantidadTotal, boolean tieneRiesgoFaltante, List<LoteResponse> lotes) -
Method Summary
-
Constructor Details
-
StockInsumoResponse
public StockInsumoResponse(InsumoResponse insumo, double cantidadTotal, boolean tieneRiesgoFaltante, List<LoteResponse> lotes)
-
-
Method Details
-
getInsumo
-
getCantidadTotal
public double getCantidadTotal() -
isTieneRiesgoFaltante
public boolean isTieneRiesgoFaltante() -
getLotes
-