initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using Indotalent.Data.Abstracts;
|
||||
using Indotalent.Data.Interfaces;
|
||||
|
||||
namespace Indotalent.Data.Entities;
|
||||
|
||||
public class LeaveRequest : BaseEntity, IHasAutoNumber
|
||||
{
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user