first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using F9WebAiTest.Domain.Common;
|
||||
|
||||
namespace F9WebAiTest.Domain.Entities.Attendance;
|
||||
|
||||
/// <summary>请假申请</summary>
|
||||
[Table(Name = "LeaveRequests")]
|
||||
public class LeaveRequest : BaseEntity
|
||||
{
|
||||
public long EmployeeId { get; set; }
|
||||
public string Type { get; set; } = "事假"; // 事假/病假/年假/调休/婚假/产假
|
||||
public DateTime StartTime { get; set; }
|
||||
public DateTime EndTime { get; set; }
|
||||
public string Reason { get; set; } = "";
|
||||
public string Status { get; set; } = "待审批"; // 待审批/已批准/已驳回
|
||||
public int CurrentOrderNo { get; set; } = 1; // 当前审批到第几步(多级审批)
|
||||
public long? ApproverId { get; set; }
|
||||
public string ApproverName { get; set; } = "";
|
||||
public string ApproveRemark { get; set; } = "";
|
||||
public DateTime? ApprovedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user