| | |
| | | /** |
| | | * MES 物料产品 DO |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @TableName("mes_md_item") |
| | | @KeySequence("mes_md_item_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
| | |
| | | */ |
| | | private Long itemTypeId; |
| | | /** |
| | | * 每箱数量 |
| | | * |
| | | * 装箱时按 数量 / 每箱数量 向上取整自动计算箱数 |
| | | */ |
| | | private BigDecimal boxQuantity; |
| | | /** |
| | | * 状态 |
| | | * |
| | | * 枚举 {@link cn.iocoder.yudao.framework.common.enums.CommonStatusEnum} |
| | |
| | | */ |
| | | private BigDecimal maxStock; |
| | | /** |
| | | * 默认超耗报警比例(%) |
| | | * |
| | | * 为空时取全局配置 mes.pro-over-consume.default-ratio |
| | | */ |
| | | private BigDecimal overConsumeRatio; |
| | | /** |
| | | * 是否高值物料 |
| | | */ |
| | | private Boolean highValue; |