fix 门禁首页统计优化

This commit is contained in:
2024-06-09 02:40:29 +08:00
parent 82a3994d4d
commit f1bf86ec0c
4 changed files with 57 additions and 83 deletions

View File

@@ -1,35 +1,24 @@
namespace Dlhis.Basic.Summary.Response
namespace Dlhis.Basic.Summary.Response;
public class DoorDataResponse
{
public class DoorDataResponse
{
/// <summary>
/// 门禁总人数
/// </summary>
public int Total => Employed + Unemployed;
/// <summary>
/// 门禁总人数
/// </summary>
public int Total => Employed + Unemployed;
/// <summary>
/// 在职人数
/// </summary>
public int Employed { get; set; }
/// <summary>
/// 在职人数
/// </summary>
public int Employed { get; set; }
/// <summary>
/// 周在职人数
/// </summary>
public int WeekEmployed { get; set; }
/// <summary>
/// 非在职人数
/// </summary>
public int Unemployed { get; set; }
/// <summary>
/// 非在职人数
/// </summary>
public int Unemployed { get; set; }
/// <summary>
/// 周非在职人数
/// </summary>
public int WeekUnemployed { get; set; }
/// <summary>
/// 人员趋势 7天
/// </summary>
public GainfoTrendResponse GainfoTrend { get; set; }
}
}
/// <summary>
/// 人员趋势 7天
/// </summary>
public GainfoTrendResponse GainfoTrend { get; set; }
}