feat(State): Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.
This commit is contained in:
4
WorkFlow.Application/DTO/State/StateCreateDto.cs
Normal file
4
WorkFlow.Application/DTO/State/StateCreateDto.cs
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace WorkFlow.Application.DTO.State
|
||||
{
|
||||
public record StateCreateDto(string IntlState) : BaseCreateDto;
|
||||
}
|
||||
7
WorkFlow.Application/DTO/State/StateCreateUpdateDto.cs
Normal file
7
WorkFlow.Application/DTO/State/StateCreateUpdateDto.cs
Normal 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;
|
||||
}
|
||||
4
WorkFlow.Application/DTO/State/StateDto.cs
Normal file
4
WorkFlow.Application/DTO/State/StateDto.cs
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace WorkFlow.Application.DTO.State
|
||||
{
|
||||
public record StateDto(int Id, string IntlState, string AddedWho, DateTime AddedWhen);
|
||||
}
|
||||
Reference in New Issue
Block a user