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 => ActiveEmployeesCount == 0 ? 0f : ((float)ActiveEmployeesWithRollCallInLastWeekCount / ActiveEmployeesCount) * 100f; 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; } } }