rollcall admin report

This commit is contained in:
SamSys
2025-01-07 17:49:46 +03:30
parent 31cc61c6b9
commit 9b1f141dec
10 changed files with 297 additions and 145 deletions

View File

@@ -1,32 +1,34 @@
namespace Query.AdminReports.Models
{
public class WorkshopWithRollCallServiceQueryModel
{
public string WorkshopName { get; set; }
public long WorkshopId { get; set; }
public string RollCallServiceType { get; set; }
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 TotalEmployeesCount { get; set; }
public int ActiveEmployeesCount { get; set; }
public int ActiveEmployeesCount { get; set; }
public int ActiveEmployeesWithRollCallInLastWeekCount { get; set; }
public int ActiveEmployeesWithRollCallInLastWeekCount { get; set; }
public int UndoneWorkFlowsCount { get; set; }
public float ActiveEmployeesWithRollCallPercentage
{
get
{
return ((float)ActiveEmployeesWithRollCallInLastWeekCount / ActiveEmployeesCount) * 100;
}
}
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 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; }
}
}
public string ServiceStartFa { get; set; }
public string ServiceEndFa { get; set; }
}
}