aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrfoxygmfr <mrfoxygmfr@sch9.ru>2025-03-23 14:50:51 +0300
committermrfoxygmfr <mrfoxygmfr@sch9.ru>2025-03-23 14:50:51 +0300
commitf4bf318091988bffc60a1610f9cd9f00b97e2743 (patch)
treec7d6c8185c8f9a95e6650ec827768f39a902ae47
parent20255f9fd6f126077d3cb51ac003c166221d4015 (diff)
feat(db): add new enum values
-rw-r--r--src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java6
-rw-r--r--src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductStorageStatus.java3
-rw-r--r--src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java5
3 files changed, 12 insertions, 2 deletions
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java
index db8634a..430ebe7 100644
--- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java
+++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java
@@ -1,5 +1,9 @@
package ru.mrfoxygmfr.warehouse_accounting.db.models;
public enum OperationStatus {
- OPEN
+ CHECKOUT,
+ APPROVAL,
+ READY,
+ EXECUTED,
+ CANCELLED
}
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductStorageStatus.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductStorageStatus.java
index 6e07508..46b1f33 100644
--- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductStorageStatus.java
+++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductStorageStatus.java
@@ -1,5 +1,8 @@
package ru.mrfoxygmfr.warehouse_accounting.db.models;
public enum ProductStorageStatus {
+ RESERVED_FOR_SUPPLY,
PLACED,
+ RESERVED_FOR_ISSUE,
+ PROHIBITED,
}
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java
index 499363f..ff9a8c5 100644
--- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java
+++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java
@@ -1,5 +1,8 @@
package ru.mrfoxygmfr.warehouse_accounting.db.models;
public enum ProductType {
- FOOD
+ FOOD,
+ HOUSEHOLD_CHEMICALS,
+ ELECTRONICS,
+ BUILDING_MATERIALS,
}