feat(State): Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.
This commit is contained in:
parent
1453f9adb1
commit
9f175bc4e9
@ -1,5 +1,6 @@
|
|||||||
using DigitalData.UserManager.Application.DTOs.User;
|
using DigitalData.UserManager.Application.DTOs.User;
|
||||||
using WorkFlow.Application.DTO.Profile;
|
using WorkFlow.Application.DTO.Profile;
|
||||||
|
using WorkFlow.Application.DTO.State;
|
||||||
|
|
||||||
namespace WorkFlow.Application.DTO.ProfileObjState
|
namespace WorkFlow.Application.DTO.ProfileObjState
|
||||||
{
|
{
|
||||||
@ -14,6 +15,6 @@ namespace WorkFlow.Application.DTO.ProfileObjState
|
|||||||
string? State3 = null,
|
string? State3 = null,
|
||||||
string? State4 = null,
|
string? State4 = null,
|
||||||
ProfileDto? Profile = null,
|
ProfileDto? Profile = null,
|
||||||
UserReadDto? User = null
|
UserReadDto? User = null,
|
||||||
/*StateDto? State = null*/);
|
StateDto? State = null);
|
||||||
}
|
}
|
||||||
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);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user