diff --git a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateCreateDto.cs b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateCreateDto.cs new file mode 100644 index 0000000..eff3a7d --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateCreateDto.cs @@ -0,0 +1,11 @@ +namespace WorkFlow.Application.DTO.ProfileObjState +{ + public record ProfileObjStateCreateDto( + int ProfileId, + int UsrId, + long ObjId, + int StateId, + string? State2 = null, + string? State3 = null, + string? State4 = null) : BaseCreateDto; +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs new file mode 100644 index 0000000..6de4464 --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateDto.cs @@ -0,0 +1,19 @@ +using DigitalData.UserManager.Application.DTOs.User; +using WorkFlow.Application.DTO.Profile; + +namespace WorkFlow.Application.DTO.ProfileObjState +{ + public record ProfileObjStateDto(int Id, + int ProfileId, + int UsrId, + long ObjId, + int StateId, + string AddedWho, + DateTime AddedWhen, + string? State2 = null, + string? State3 = null, + string? State4 = null, + ProfileDto? Profile = null, + UserReadDto? User = null + /*StateDto? State = null*/); +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs new file mode 100644 index 0000000..0deb93d --- /dev/null +++ b/WorkFlow.Application/DTO/ProfileObjState/ProfileObjStateUpdateDto.cs @@ -0,0 +1,7 @@ +namespace WorkFlow.Application.DTO.ProfileObjState +{ + /// + /// This Data Transfer Object (DTO) serves as a placeholder and does not support updates. + /// + public record ProfileObjStateUpdateDto; +} \ No newline at end of file