From f4bf318091988bffc60a1610f9cd9f00b97e2743 Mon Sep 17 00:00:00 2001 From: mrfoxygmfr Date: Sun, 23 Mar 2025 14:50:51 +0300 Subject: feat(db): add new enum values --- .../mrfoxygmfr/warehouse_accounting/db/models/OperationStatus.java | 6 +++++- .../warehouse_accounting/db/models/ProductStorageStatus.java | 3 +++ .../ru/mrfoxygmfr/warehouse_accounting/db/models/ProductType.java | 5 ++++- 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, } -- cgit mrf-deployment