initial commit

This commit is contained in:
2026-07-21 14:22:06 +07:00
commit 2d7959f202
572 changed files with 45295 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using Indotalent.Data.Abstracts;
using Indotalent.Data.Interfaces;
namespace Indotalent.Data.Entities;
public class LeaveRequest : BaseEntity, IHasAutoNumber, IMultiTenant
{
public string? AutoNumber { get; set; }
public string EmployeeId { get; set; } = string.Empty;
public Employee? Employee { get; set; }
public string LeaveCategoryId { get; set; } = string.Empty;
public LeaveCategory? LeaveCategory { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public double Days { get; set; }
public string Reason { get; set; } = string.Empty;
public string Status { get; set; } = string.Empty; // Pending, Approved, Rejected, Cancelled
public string? AttachmentPath { get; set; }
public string? ApproverId { get; set; }
public DateTime? ActionDate { get; set; }
public string? RejectReason { get; set; }
public string? TenantId { get; set; }
}