diff --git a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs index 6de4464..d54be30 100644 --- a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs +++ b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs @@ -1,5 +1,6 @@ using DigitalData.UserManager.Application.DTOs.User; using WorkFlow.Application.DTO.Profile; +using WorkFlow.Application.DTO.State; namespace WorkFlow.Application.DTO.ProfileObjState { @@ -14,6 +15,6 @@ namespace WorkFlow.Application.DTO.ProfileObjState string? State3 = null, string? State4 = null, ProfileDto? Profile = null, - UserReadDto? User = null - /*StateDto? State = null*/); + UserReadDto? User = null, + StateDto? State = null); } \ No newline at end of file diff --git a/WorkFlow.Application/DTO/State/StateCreateDto.cs b/WorkFlow.Application/DTO/State/StateCreateDto.cs new file mode 100644 index 0000000..ecc8a8a --- /dev/null +++ b/WorkFlow.Application/DTO/State/StateCreateDto.cs @@ -0,0 +1,4 @@ +namespace WorkFlow.Application.DTO.State +{ + public record StateCreateDto(string IntlState) : BaseCreateDto; +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/State/StateCreateUpdateDto.cs b/WorkFlow.Application/DTO/State/StateCreateUpdateDto.cs new file mode 100644 index 0000000..f575cd7 --- /dev/null +++ b/WorkFlow.Application/DTO/State/StateCreateUpdateDto.cs @@ -0,0 +1,7 @@ +namespace WorkFlow.Application.DTO.State +{ + /// + /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. + /// + public record StateCreateUpdateDto; +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/State/StateDto.cs b/WorkFlow.Application/DTO/State/StateDto.cs new file mode 100644 index 0000000..455c34c --- /dev/null +++ b/WorkFlow.Application/DTO/State/StateDto.cs @@ -0,0 +1,4 @@ +namespace WorkFlow.Application.DTO.State +{ + public record StateDto(int Id, string IntlState, string AddedWho, DateTime AddedWhen); +} \ No newline at end of file