Class StockInsumoResponse

java.lang.Object
com.deusto.coffeestack.dto.StockInsumoResponse

public class StockInsumoResponse extends Object
Consolidated stock view for a single Insumo.

tieneRiesgoFaltante is true when the total available quantity (cantidadTotal) is below the insumo's stockMinimoAlerta threshold.

  • Constructor Details

    • StockInsumoResponse

      public StockInsumoResponse(InsumoResponse insumo, double cantidadTotal, boolean tieneRiesgoFaltante, List<LoteResponse> lotes)
  • Method Details

    • getInsumo

      public InsumoResponse getInsumo()
    • getCantidadTotal

      public double getCantidadTotal()
    • isTieneRiesgoFaltante

      public boolean isTieneRiesgoFaltante()
    • getLotes

      public List<LoteResponse> getLotes()