package cn.iocoder.yudao.module.mes.controller.admin.wm.stockwarning.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; @Schema(description = "管理后台 - MES 库存预警明细 Response VO") @Data public class MesWmStockWarningAlertRespVO { @Schema(description = "预警规则编号", example = "1024") private Long ruleId; @Schema(description = "库存物料编号", example = "3113") private Long itemId; @Schema(description = "物料编码", example = "WL001") private String itemCode; @Schema(description = "物料名称", example = "螺栓") private String itemName; @Schema(description = "计量单位", example = "个") private String unitName; @Schema(description = "仓库编号(为空表示全部仓库合计)", example = "1") private Long warehouseId; @Schema(description = "仓库名称", example = "原辅料库") private String warehouseName; @Schema(description = "当前库存数量", example = "5") private BigDecimal currentQuantity; @Schema(description = "库存下限", example = "10") private BigDecimal minQuantity; @Schema(description = "库存上限", example = "1000") private BigDecimal maxQuantity; @Schema(description = "预警类型(1 低于下限 2 高于上限)", example = "1") private Integer warningType; }