erp-platform/api/src/Erp.Platform.Domain/Entities/Tenant/Hr/Leave.cs
2025-11-11 22:49:52 +03:00

28 lines
892 B
C#

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