Files
Backend-Api/Query/AdminReports/Models/WorkshopWithRollCallServiceQueryModel.cs
2025-01-07 17:49:46 +03:30

35 lines
1.0 KiB
C#

namespace Query.AdminReports.Models
{
public class WorkshopWithRollCallServiceQueryModel
{
public string WorkshopName { get; set; }
public long WorkshopId { get; set; }
public string RollCallServiceType { get; set; }
public int TotalEmployeesCount { get; set; }
public int ActiveEmployeesCount { get; set; }
public int ActiveEmployeesWithRollCallInLastWeekCount { get; set; }
public int UndoneWorkFlowsCount { get; set; }
public float ActiveEmployeesWithRollCallPercentage
{
get
{
return ((float)ActiveEmployeesWithRollCallInLastWeekCount / ActiveEmployeesCount) * 100;
}
}
public int MaxPersonValid { get; set; }
public bool IsActive { get; set; }
public DateTime ServiceStart { get; set; }
public DateTime ServiceEnd { get; set; }
public string ServiceStartFa { get; set; }
public string ServiceEndFa { get; set; }
}
}