// Domain/Entities/HrLeave.cs using System; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; namespace Kurs.Platform.Entities; public class Leave : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public Guid EmployeeId { get; set; } public string LeaveType { get; set; } public DateTime StartDate { get; set; } public DateTime EndDate { get; set; } public double TotalDays { get; set; } public bool IsHalfDay { get; set; } public string? Reason { get; set; } public string Status { get; set; } public DateTime AppliedDate { get; set; } public string? ApprovedBy { get; set; } public DateTime? ApprovedDate { get; set; } public string? RejectionReason { get; set; } public string? Attachments { get; set; } // JSON string (from string[]) }