feat(Profile): Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.
This commit is contained in:
parent
adc33bfee1
commit
1e6d247817
4
WorkFlow.Application/DTO/Profile/ProfileCreateDto.cs
Normal file
4
WorkFlow.Application/DTO/Profile/ProfileCreateDto.cs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.Profile
|
||||||
|
{
|
||||||
|
public record ProfileCreateDto(string IntlName, int ExtId1, bool Active, byte TypeId) : BaseCreateDto;
|
||||||
|
}
|
||||||
12
WorkFlow.Application/DTO/Profile/ProfileDto.cs
Normal file
12
WorkFlow.Application/DTO/Profile/ProfileDto.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.Profile
|
||||||
|
{
|
||||||
|
public record ProfileDto(int Id,
|
||||||
|
string IntlName,
|
||||||
|
int ExtId1,
|
||||||
|
bool Active,
|
||||||
|
string AddedWho,
|
||||||
|
DateTime AddedWhen,
|
||||||
|
byte TypeId,
|
||||||
|
string? ChangedWho = null,
|
||||||
|
DateTime? ChangedWhen = null);
|
||||||
|
}
|
||||||
4
WorkFlow.Application/DTO/Profile/ProfileUpdateDto.cs
Normal file
4
WorkFlow.Application/DTO/Profile/ProfileUpdateDto.cs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.Profile
|
||||||
|
{
|
||||||
|
public record ProfileUpdateDto(string IntlName, int ExtId1, bool Active, byte TypeId) : BaseUpdateDto;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user