feat 人员考勤分析
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Dlhis.ScheduledTask.DeviceUploadLog.Services.Implements;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Kurisu.AspNetCore.Utils.Extensions;
|
||||
|
||||
namespace Dlhis.ScheduledTask.DeviceUploadLog.Response;
|
||||
|
||||
public class UserAttendanceDataAnalysisInfoResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 班次时间范围
|
||||
/// </summary>
|
||||
public List<ShiftTimeRange> ShiftTimes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 截止到当前时间
|
||||
/// </summary>
|
||||
public DateTime LastAnalysisDateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员考勤数据分析结果
|
||||
/// </summary>
|
||||
public Pagination<UserAttendanceDataAnalysisResponse> Pagination { get; set; }
|
||||
}
|
||||
|
||||
public class UserAttendanceDataAnalysisResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 工号
|
||||
/// </summary>
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门名称
|
||||
/// </summary>
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上班分析结果类型
|
||||
/// </summary>
|
||||
public List<AttendanceDataAnalysisResultEnumType> StartAnalysisResultTypes { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
public List<string> StartResults => StartAnalysisResultTypes.Select(x => x.GetDescription()).ToList();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 下班分析结果类型
|
||||
/// </summary>
|
||||
public List<AttendanceDataAnalysisResultEnumType> EndAnalysisResultTypes { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
public List<string> EndResults => EndAnalysisResultTypes.Select(x => x.GetDescription()).ToList();
|
||||
}
|
||||
Reference in New Issue
Block a user