diff --git a/WorkFlow.Application/DTO/Profile/ProfileCreateDto.cs b/WorkFlow.Application/DTO/Profile/ProfileCreateDto.cs new file mode 100644 index 0000000..ad13f1a --- /dev/null +++ b/WorkFlow.Application/DTO/Profile/ProfileCreateDto.cs @@ -0,0 +1,4 @@ +namespace WorkFlow.Application.DTO.Profile +{ + public record ProfileCreateDto(string IntlName, int ExtId1, bool Active, byte TypeId) : BaseCreateDto; +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/Profile/ProfileDto.cs b/WorkFlow.Application/DTO/Profile/ProfileDto.cs new file mode 100644 index 0000000..68c4d66 --- /dev/null +++ b/WorkFlow.Application/DTO/Profile/ProfileDto.cs @@ -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); +} \ No newline at end of file diff --git a/WorkFlow.Application/DTO/Profile/ProfileUpdateDto.cs b/WorkFlow.Application/DTO/Profile/ProfileUpdateDto.cs new file mode 100644 index 0000000..2ff129a --- /dev/null +++ b/WorkFlow.Application/DTO/Profile/ProfileUpdateDto.cs @@ -0,0 +1,4 @@ +namespace WorkFlow.Application.DTO.Profile +{ + public record ProfileUpdateDto(string IntlName, int ExtId1, bool Active, byte TypeId) : BaseUpdateDto; +} \ No newline at end of file