diff --git a/WorkFlow.Application/DTO/Profile/ProfileDto.cs b/WorkFlow.Application/DTO/Profile/ProfileDto.cs index 68c4d66..750b2ac 100644 --- a/WorkFlow.Application/DTO/Profile/ProfileDto.cs +++ b/WorkFlow.Application/DTO/Profile/ProfileDto.cs @@ -4,9 +4,9 @@ string IntlName, int ExtId1, bool Active, - string AddedWho, - DateTime AddedWhen, byte TypeId, + string AddedWho, + DateTime AddedWhen, string? ChangedWho = null, DateTime? ChangedWhen = null); } \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFCreateDto.cs b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFCreateDto.cs new file mode 100644 index 0000000..0845331 --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFCreateDto.cs @@ -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; +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFDto.cs b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFDto.cs new file mode 100644 index 0000000..c403675 --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFDto.cs @@ -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); +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs new file mode 100644 index 0000000..231b42d --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileControlsTF/ProfileControlsTFUpdateDto.cs @@ -0,0 +1,7 @@ +namespace WorkFlow.Application.DTO.ProfileControlsTF +{ + /// + /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. + /// + public record ProfileControlsTFUpdateDto; +} \ No newline at end of file diff --git a/WorkFlow.Application/WorkFlow.Application.csproj b/WorkFlow.Application/WorkFlow.Application.csproj index 70228bb..7b8238f 100644 --- a/WorkFlow.Application/WorkFlow.Application.csproj +++ b/WorkFlow.Application/WorkFlow.Application.csproj @@ -8,6 +8,7 @@ +