mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat(warehouse-goods): 添加低库存预警功能
- 在 CreateWarehouseGoodsDto、UpdateWarehouseGoodsDto、WarehouseGoodsDto 和 WarehouseGoodsEntity 中添加低库存预警相关字段 - 包括"低库存预警是否启用"和"低库存预警数量"两个字段
This commit is contained in:
@@ -78,4 +78,11 @@ public class CreateWarehouseGoodsDto extends OrgCommonDto {
|
||||
@Comment("生产厂家")
|
||||
private String manufacturer;
|
||||
private String defaultSupplier;
|
||||
|
||||
|
||||
@Comment("低库存预警是否启用")
|
||||
private Boolean enableLowStockWarning;
|
||||
|
||||
@Comment("低库存预警数量")
|
||||
private Double lowStockWarningNumber;
|
||||
}
|
||||
|
||||
@@ -77,4 +77,9 @@ public class UpdateWarehouseGoodsDto extends OrgCommonDto {
|
||||
private String manufacturer;
|
||||
private String defaultSupplier;
|
||||
|
||||
@Comment("低库存预警是否启用")
|
||||
private Boolean enableLowStockWarning;
|
||||
|
||||
@Comment("低库存预警数量")
|
||||
private Double lowStockWarningNumber;
|
||||
}
|
||||
|
||||
@@ -80,4 +80,11 @@ public class WarehouseGoodsDto extends OrgCommonDto {
|
||||
private String manufacturer;
|
||||
|
||||
private WarehouseSupplierDto defaultSupplier;
|
||||
|
||||
|
||||
@Comment("低库存预警是否启用")
|
||||
private Boolean enableLowStockWarning;
|
||||
|
||||
@Comment("低库存预警数量")
|
||||
private Double lowStockWarningNumber;
|
||||
}
|
||||
|
||||
@@ -103,9 +103,20 @@ public class WarehouseGoodsEntity extends OrgCommonEntity {
|
||||
private String manufacturer;
|
||||
|
||||
|
||||
@Comment("低库存预警是否启用")
|
||||
private Boolean enableLowStockWarning;
|
||||
|
||||
@Comment("低库存预警数量")
|
||||
private Double lowStockWarningNumber;
|
||||
|
||||
|
||||
|
||||
|
||||
@ManyToOne
|
||||
private WarehouseSupplierEntity defaultSupplier;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user