package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.material; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; /** * 安全生产 - 物资台账 Response VO * * @author 超级管理员 */ @Schema(description = "管理后台 - 物资台账 Response VO") @Data public class SafetyMaterialRespVO { private Long id; private String code; private String name; private String category; @Schema(description = "类别名称") private String categoryName; private String spec; private String unit; private BigDecimal stockQty; private BigDecimal safeStock; @Schema(description = "是否低于安全库存") private Boolean belowSafeStock; private String storageLocation; private LocalDate expireDate; @Schema(description = "距有效期天数,负数表示已过期") private Long expireRemainingDays; private Integer validityMonths; @Schema(description = "保管人编号") private Long managerId; private String manager; private Integer status; private String remark; private LocalDateTime createTime; }