using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Employee { public class EmployeeHierarchyDTO { private int elevel; private int employeeid; private string employeecode; private string employeename; private int workouid; private int parentid; private string parentcode; private string parentname; private string designation; private string department; private string employeephoto; private string thumbnail; private string primaryemailid; private string primarymobile; private string bloodgroup; private string fathername; public int Elevel { get { return elevel; } set { elevel = value; } } public int EmployeeId { get { return employeeid; } set { employeeid = value; } } public string EmployeeCode { get { return employeecode; } set { employeecode = value; } } public string EmployeeName { get { return employeename; } set { employeename = value; } } // Not part of the legacy GB4 response shape — carried through purely so the BLL can // select the correct forced-root nodes when CriteriaDTO.OUId scopes the tree (see // EmployeeBLL.GetEmployeeHierarchy). Harmless extra field for FE consumers. public int WorkOuId { get { return workouid; } set { workouid = value; } } public int ParentId { get { return parentid; } set { parentid = value; } } public string ParentCode { get { return parentcode; } set { parentcode = value; } } public string ParentName { get { return parentname; } set { parentname = value; } } public string Designation { get { return designation; } set { designation = value; } } public string Department { get { return department; } set { department = value; } } public string EmployeePhoto { get { return employeephoto; } set { employeephoto = value; } } public string ThumbNail { get { return thumbnail; } set { thumbnail = value; } } public string PrimaryEmailId { get { return primaryemailid; } set { primaryemailid = value; } } public string PrimaryMobile { get { return primarymobile; } set { primarymobile = value; } } public string BloodGroup { get { return bloodgroup; } set { bloodgroup = value; } } public string FatherName { get { return fathername; } set { fathername = value; } } private int adminreportingtoid = -1; private string adminreportingtocode; private string adminreportingtoname; public int AdminReportingToId { get { return adminreportingtoid; } set { adminreportingtoid = value; } } public string AdminReportingToCode { get { return adminreportingtocode; } set { adminreportingtocode = value; } } public string AdminReportingToName { get { return adminreportingtoname; } set { adminreportingtoname = value; } } } }