package cn.iocoder.yudao.module.mes.controller.admin.wm.warning.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; @Schema(description = "管理后台 - 库存预警 Response VO") @Data public class MesWmStockWarningRespVO { @Schema(description = "编号") private Long id; @Schema(description = "品种ID") private Long itemId; @Schema(description = "品种编码") private String itemCode; @Schema(description = "品种名称") private String itemName; @Schema(description = "批次ID") private Long batchId; @Schema(description = "批次号") private String batchCode; @Schema(description = "仓库ID") private Long warehouseId; @Schema(description = "仓库名称") private String warehouseName; @Schema(description = "预警类型:10-低库存,20-临期,30-库龄") private Integer warningType; @Schema(description = "预警类型名称") private String warningTypeName; @Schema(description = "阈值(低库存=最低库存,临期=剩余天数,库龄=超龄天数)") private BigDecimal thresholdValue; @Schema(description = "当前值(低库存=在库数量,临期=剩余天数,库龄=库龄天数)") private BigDecimal currentValue; @Schema(description = "过期日期(临期预警才有)") private LocalDateTime expireDate; @Schema(description = "入库时间(库龄预警才有)") private LocalDateTime receiptTime; @Schema(description = "处理状态:10-未处理,20-已处理") private Integer status; @Schema(description = "处理状态名称") private String statusName; @Schema(description = "处理人ID") private Long handleUserId; @Schema(description = "处理时间") private LocalDateTime handleTime; @Schema(description = "处理备注") private String handleRemark; }