32 lines
830 B
C#
32 lines
830 B
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 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; }
|
|
}
|
|
} |