first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,18 @@
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; }
}