feat(ProfileControlsTF): Erstellen, Lesen und Aktualisieren von DTOs unter Verwendung von Basis-DTOs zum Aktualisieren und Erstellen.
This commit is contained in:
parent
1e6d247817
commit
21956cfc16
@ -4,9 +4,9 @@
|
|||||||
string IntlName,
|
string IntlName,
|
||||||
int ExtId1,
|
int ExtId1,
|
||||||
bool Active,
|
bool Active,
|
||||||
string AddedWho,
|
|
||||||
DateTime AddedWhen,
|
|
||||||
byte TypeId,
|
byte TypeId,
|
||||||
|
string AddedWho,
|
||||||
|
DateTime AddedWhen,
|
||||||
string? ChangedWho = null,
|
string? ChangedWho = null,
|
||||||
DateTime? ChangedWhen = null);
|
DateTime? ChangedWhen = null);
|
||||||
}
|
}
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.ProfileControlsTF
|
||||||
|
{
|
||||||
|
public record ProfileControlsTFCreateDto(int Id,
|
||||||
|
int ProfileId,
|
||||||
|
int UsrId,
|
||||||
|
long ObjId,
|
||||||
|
string ObjType,
|
||||||
|
string AttrName,
|
||||||
|
string CtrlType,
|
||||||
|
string CtrlCaption,
|
||||||
|
bool Mandatory,
|
||||||
|
bool ReadOnly,
|
||||||
|
string? ChoiceList = null) : BaseCreateDto;
|
||||||
|
}
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
using DigitalData.UserManager.Application.DTOs.User;
|
||||||
|
using WorkFlow.Application.DTO.Profile;
|
||||||
|
|
||||||
|
namespace WorkFlow.Application.DTO.ProfileControlsTF
|
||||||
|
{
|
||||||
|
public record ProfileControlsTFDto(int Id,
|
||||||
|
int ProfileId,
|
||||||
|
int UsrId,
|
||||||
|
long ObjId,
|
||||||
|
string ObjType,
|
||||||
|
string AttrName,
|
||||||
|
string CtrlType,
|
||||||
|
string CtrlCaption,
|
||||||
|
bool Mandatory,
|
||||||
|
bool ReadOnly,
|
||||||
|
string AddedWho,
|
||||||
|
DateTime AddedWhen,
|
||||||
|
string? ChoiceList = null,
|
||||||
|
ProfileDto? Profile = null,
|
||||||
|
UserReadDto? User = null);
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
namespace WorkFlow.Application.DTO.ProfileControlsTF
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// This Data Transfer Object (DTO) serves as a placeholder and does not support updates.
|
||||||
|
/// </summary>
|
||||||
|
public record ProfileControlsTFUpdateDto;
|
||||||
|
}
|
||||||
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DigitalData.Core.Application" Version="2.0.0" />
|
<PackageReference Include="DigitalData.Core.Application" Version="2.0.0" />
|
||||||
|
<PackageReference Include="UserManager.Application" Version="2.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user