WorkRecordResponse.cs
2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
using System.Collections.Generic;
namespace HHECS.WorkHourStatistics.Dtos
{
public class WorkRecordResponse
{
public object QueryParam { get; set; } = new object();
/// <summary>
/// 页码
/// </summary>
public int PageIndex { get; set; }
/// <summary>
/// 每页数量
/// </summary>
public int PageSize { get; set; }
public bool NeedTotal { get; set; }
public object SortFields { get; set; } = new object();
/// <summary>
/// 总数据条数
/// </summary>
public int Total { get; set; }
public List<WorkRecordDatalist> DataList { get; set; } = new List<WorkRecordDatalist>();
}
public class WorkRecordDatalist
{
/// <summary>
/// 所属部门
/// </summary>
public string DeptName { get; set; } = null!;
/// <summary>
/// 当日打卡信息
/// </summary>
public List<Attendancedatalist> AttendanceDataList { get; set; } = new List<Attendancedatalist>();
/// <summary>
/// 加班日期
/// </summary>
public string CheckDate { get; set; } = null!;
/// <summary>
/// 加班时长和审批单差值
/// </summary>
public string Diff4WorkAndApprove { get; set; } = null!;
/// <summary>
/// 部门层级
/// </summary>
public string DeptHierarchy { get; set; } = null!;
/// <summary>
/// 姓名
/// </summary>
public string PersonName { get; set; } = null!;
/// <summary>
/// 工号
/// </summary>
public string Number { get; set; } = null!;
/// <summary>
/// 加班类型
/// </summary>
public string DateType { get; set; } = null!;
/// <summary>
/// 加班审批单
/// </summary>
public string WorkFlowInfo { get; set; } = null!;
/// <summary>
/// 考勤组名称
/// </summary>
public string TemplateName { get; set; } = null!;
/// <summary>
/// 加班总时长(小时)
/// </summary>
public string Total4WorkHours { get; set; } = null!;
public string Id { get; set; } = null!;
/// <summary>
/// 加班原因
/// </summary>
public string Remarks { get; set; } = null!;
}
public class Attendancedatalist
{
/// <summary>
/// 打卡时间
/// </summary>
public string CreateTime { get; set; } = null!;
/// <summary>
/// 基准时间
/// </summary>
public string BaseCheckTime { get; set; } = null!;
}
}