From db0047d3d3e60e835046739f529054e13fff9ddd Mon Sep 17 00:00:00 2001 From: mahan Date: Tue, 3 Feb 2026 17:54:32 +0330 Subject: [PATCH] set time get details --- .../Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQuery.cs | 1 + .../ProjectSetTimeDetails/ProjectSetTimeDetailsQueryHandler.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQuery.cs b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQuery.cs index a3ac883d..3f666afc 100644 --- a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQuery.cs +++ b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQuery.cs @@ -26,6 +26,7 @@ public record ProjectSetTimeResponseSkill public class ProjectSetTimeResponseSectionAdditionalTime { + public Guid Id { get; set; } public int Hours { get; init; } public int Minutes { get; init; } public string Description { get; init; } diff --git a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQueryHandler.cs b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQueryHandler.cs index b3600159..8e823463 100644 --- a/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQueryHandler.cs +++ b/ProgramManager/src/Application/GozareshgirProgramManager.Application/Modules/Projects/Queries/ProjectSetTimeDetails/ProjectSetTimeDetailsQueryHandler.cs @@ -70,6 +70,7 @@ public class ProjectSetTimeDetailsQueryHandler AdditionalTimes = section?.AdditionalTimes .Select(x => new ProjectSetTimeResponseSectionAdditionalTime { + Id = x.Id, Description = x.Reason ?? "", Hours = (int)x.Hours.TotalHours, Minutes = x.Hours.Minutes,