MH: Debugginginfos für ROs

This commit is contained in:
2024-12-30 16:11:46 +01:00
parent 94bfb1a594
commit d57eeaf9be
2 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using System.Diagnostics;
namespace BeWo.Report.ReportObjects
{
@@ -344,6 +345,7 @@ namespace BeWo.Report.ReportObjects
public decimal DienstplanIst { get; set; }
}
[DebuggerDisplay("{Date}: {MinutesTotal}")]
public class DayDetail
{
public DateTime Date { get; set; }
@@ -503,7 +505,8 @@ namespace BeWo.Report.ReportObjects
return str;
}
}
}
public static EmployeeDetail CreateEmployeeDetail(Employee employee, Team team)

View File

@@ -16,6 +16,7 @@ using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Services;
using BS.Shared.Extensions;
using System.Diagnostics;
namespace BeWo.Report.ReportObjects
{
@@ -1575,6 +1576,7 @@ namespace BeWo.Report.ReportObjects
return newRo;
}
[DebuggerDisplay("{EmployeeName}")]
public class EmployeeDetail
{
public string EmployeeName { get; set; }
@@ -1593,6 +1595,7 @@ namespace BeWo.Report.ReportObjects
// Wer ist der verantwortliche Mitarbeiter?
}
[DebuggerDisplay("{StartDateString}: {Minutes}min {ServiceCategory}/{ServiceDescription}")]
public class ServiceDetail
{
public long ServiceRecordOid { get; set; }