Complete Step 2.2: Add enums for business concepts

Updated ROADMAP.md to mark Step 2.2 ("Enums erstellen") as completed, documenting the creation of `DocumentOperationType` and `ProcessingStatus` enums.

Added `DocumentOperationType` and `ProcessingStatus` enums under the `DocumentOperator.Domain.Models.Enums` namespace to represent document operations and processing statuses, respectively.

Modified `DocumentOperator.Domain.csproj` to remove the `Models\Enums\` folder from the `<ItemGroup>` section, reflecting changes in the inclusion strategy for enums.
This commit is contained in:
OlgunR
2026-06-17 16:43:03 +02:00
parent 9512913866
commit cdb942210c
4 changed files with 26 additions and 3 deletions

View File

@@ -744,7 +744,7 @@ DocumentOperator.Tests/
--- ---
#### ?? Step 2.2: Enums erstellen - **NEXT** #### ? Step 2.2: Enums erstellen - **COMPLETED**
**Aufgabe:** Aufzählungen für Business-Konzepte **Aufgabe:** Aufzählungen für Business-Konzepte
@@ -795,9 +795,14 @@ DocumentOperator.Tests/
- Wir haken Step 2.2 ab in ROADMAP.md - Wir haken Step 2.2 ab in ROADMAP.md
- Weiter zu Step 2.3 (Value Objects) - Weiter zu Step 2.3 (Value Objects)
**Status:** ? **COMPLETED** (17.01.2025)
- ? DocumentOperationType.cs erstellt
- ? ProcessingStatus.cs erstellt
- ? Build erfolgreich
--- ---
#### ? Step 2.3: Value Objects erstellen #### ?? Step 2.3: Value Objects erstellen - **NEXT**
**Aufgabe:** Typsichere, selbst-validierende Wert-Objekte **Aufgabe:** Typsichere, selbst-validierende Wert-Objekte

View File

@@ -9,7 +9,6 @@
<ItemGroup> <ItemGroup>
<Folder Include="Common\Results\" /> <Folder Include="Common\Results\" />
<Folder Include="Constants\" /> <Folder Include="Constants\" />
<Folder Include="Models\Enums\" />
<Folder Include="Models\ValueObjects\" /> <Folder Include="Models\ValueObjects\" />
</ItemGroup> </ItemGroup>

View File

@@ -0,0 +1,10 @@
namespace DocumentOperator.Domain.Models.Enums;
public enum DocumentOperationType
{
Validate,
ExtractAttachments,
Concatenate,
ApplyStamp,
EmbedCertificate
}

View File

@@ -0,0 +1,9 @@
namespace DocumentOperator.Domain.Models.Enums;
public enum ProcessingStatus
{
Pending,
Processing,
Success,
Failed
}