26 lines
847 B
C#
26 lines
847 B
C#
|
|
// Domain/Entities/HrLeave.cs
|
||
|
|
using System;
|
||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
||
|
|
using Volo.Abp.MultiTenancy;
|
||
|
|
|
||
|
|
namespace Kurs.Platform.Entities;
|
||
|
|
|
||
|
|
public class Leave : FullAuditedEntity<Guid>, 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[])
|
||
|
|
}
|