first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using F9WebAiTest.Domain.Common;
|
||||
|
||||
namespace F9WebAiTest.Domain.Entities.Attendance;
|
||||
|
||||
/// <summary>考勤打卡记录</summary>
|
||||
[Table(Name = "AttendanceRecords")]
|
||||
[Index("IX_AttendanceRecords_EmployeeId_WorkDate", "EmployeeId, WorkDate", IsUnique = true)]
|
||||
public class AttendanceRecord : BaseEntity
|
||||
{
|
||||
public long EmployeeId { get; set; }
|
||||
public DateTime WorkDate { get; set; } // 考勤日期
|
||||
public DateTime? SignInTime { get; set; } // 签到时间
|
||||
public DateTime? SignOutTime { get; set; } // 签退时间
|
||||
public string SignInStatus { get; set; } = ""; // 正常/迟到/缺卡
|
||||
public string SignOutStatus { get; set; } = ""; // 正常/早退/缺卡
|
||||
public string Remark { get; set; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user