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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
namespace DocumentOperator.Domain.Models.Enums;
|
||||||
|
|
||||||
|
public enum DocumentOperationType
|
||||||
|
{
|
||||||
|
Validate,
|
||||||
|
ExtractAttachments,
|
||||||
|
Concatenate,
|
||||||
|
ApplyStamp,
|
||||||
|
EmbedCertificate
|
||||||
|
}
|
||||||
9
DocumentOperator.Domain/Models/Enums/ProcessingStatus.cs
Normal file
9
DocumentOperator.Domain/Models/Enums/ProcessingStatus.cs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
namespace DocumentOperator.Domain.Models.Enums;
|
||||||
|
|
||||||
|
public enum ProcessingStatus
|
||||||
|
{
|
||||||
|
Pending,
|
||||||
|
Processing,
|
||||||
|
Success,
|
||||||
|
Failed
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user