UserAttendanceRecords.cs
1.64 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
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HHECS.WorkHourStatistics.Dtos
{
/// <summary>
/// 用户数据记录
/// </summary>
//[Table("user_attendance_records")]
public class UserAttendanceRecords
{
[Key]
public string Id { get; set; } = null!;
/// <summary>
/// 工号
/// </summary>
[Column("Work_No")]
public string WorkNo { get; set; } = null!;
/// <summary>
/// 姓名
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 所属部门
/// </summary>
[Column("Sys_Org_Code")]
public string SysOrgCode { get; set; } = null!;
/// <summary>
/// 上班时间
/// </summary>
[Column("Working_Hours")]
public DateTime? WorkingHours { get; set; }
/// <summary>
/// 下班时间
/// </summary>
[Column("Off_Duty_Hours")]
public DateTime? OffDutyHours { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Column("Create_By")]
public string? CreateBy { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[Column("Create_Time")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[Column("Update_By")]
public string? UpdateBy { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[Column("Update_Time")]
public DateTime? UpdateTime { get; set; }
}
}