Files
f9-web-ai-test/backend/F9WebAiTest.Domain/Entities/Attendance/LeaveApprover.cs
T
2026-10-08 10:43:59 +08:00

19 lines
838 B
C#

using FreeSql.DataAnnotations;
using F9WebAiTest.Domain.Common;
namespace F9WebAiTest.Domain.Entities.Attendance;
/// <summary>请假审批节点(多级审批流程,OrderNo 表示审批顺序)</summary>
[Table(Name = "LeaveApprovers")]
[Index("IX_LeaveApprovers_LeaveId_OrderNo", "LeaveId, OrderNo", IsUnique = true)]
public class LeaveApprover : BaseEntity
{
public long LeaveId { get; set; }
public long ApproverId { get; set; } // 审批人ID
public string ApproverName { get; set; } = ""; // 审批人姓名(冗余)
public int OrderNo { get; set; } // 序号(从1开始,表示审批顺序)
public string Status { get; set; } = "待审批"; // 待审批/已批准/已驳回
public string ApproveRemark { get; set; } = "";
public DateTime? ApprovedAt { get; set; }
}