feat(State): Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.

This commit is contained in:
Developer 02
2024-10-23 16:32:58 +02:00
parent 1453f9adb1
commit 9f175bc4e9
4 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
namespace WorkFlow.Application.DTO.State
{
public record StateCreateDto(string IntlState) : BaseCreateDto;
}

View File

@@ -0,0 +1,7 @@
namespace WorkFlow.Application.DTO.State
{
/// <summary>
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
/// </summary>
public record StateCreateUpdateDto;
}

View File

@@ -0,0 +1,4 @@
namespace WorkFlow.Application.DTO.State
{
public record StateDto(int Id, string IntlState, string AddedWho, DateTime AddedWhen);
}