namespace PERMDAL.DTOs; public class AppraisalPlanDTO { public int AppraisalPlanId { get; set; } public string Name { get; set; } = string.Empty; public string? Description { get; set; } public int AppraisalTypeId { get; set; } public string AppraisalTypeName { get; set; } = string.Empty; public DateTime PerformanceFrom { get; set; } public DateTime PerformanceTo { get; set; } public DateTime EntryFrom { get; set; } public DateTime EntryTo { get; set; } public short Nature { get; set; } // 0=Annual,1=MidYear,2=Probation,3=Adhoc public bool SelfAppraisal { get; set; } public int CreatedById { get; set; } public DateTime? CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime? ModifiedOn { get; set; } public int SortOrder { get; set; } public short Status { get; set; } // 0=Pending,1=Active,2=Closed,3=Archived public int Version { get; set; } public short SourceType { get; set; } public int TenantId { get; set; } public short SecurityLevel { get; set; } } public class AppraisalPlanListDTO { public int AppraisalPlanId { get; set; } public string Code { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public string AppraisalTypeName { get; set; } = string.Empty; public DateTime PerformanceFrom { get; set; } public DateTime PerformanceTo { get; set; } public short Nature { get; set; } public short Status { get; set; } public int TotalCount { get; set; } } public class AppraisalPlanSelectDTO { public int AppraisalPlanId { get; set; } public string Name { get; set; } = string.Empty; public short Status { get; set; } }