using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; using GB5Shared.JsonConverter; namespace PayRollDAL.DTO.EmployeeNominee { [JsonConverter(typeof(SingleOrArrayJsonConverter))] public class EmployeeNomineeDTO { #region PrivateMembers #region EmployeeNominee private int employeenomineeid; //Id #region Employee private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion private byte employeenomineenomineetype; //NomineeType private Int16 employeenomineeslno; //SlNo private string employeenomineenomineename; //NomineeName private string employeenomineerelation; //Relation private DateTime employeenomineedob; //DOB private string employeenomineeaddress; //Address private double employeenomineepercentage; //Percentage private string employeenomineeguardian; //Guardian private string employeenomineeguardianaddress; //GuardianAddress private string employeenomineeaadharnumber; //AadharNumber private int checkingcopyfromoption = 1; #endregion #endregion #region PublicMembers #region EmployeeNominee public int EmployeeNomineeId { get { return employeenomineeid; } //Id set { employeenomineeid = value; } //Id } #region Employee public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } //Code set { employeecode = value; } //Code } public string EmployeeName { get { return employeename; } //Name set { employeename = value; } //Name } #endregion public byte EmployeeNomineeNomineeType { get { return employeenomineenomineetype; } //NomineeType set { employeenomineenomineetype = value; } //NomineeType } public Int16 EmployeeNomineeSlNo { get { return employeenomineeslno; } //SlNo set { employeenomineeslno = value; } //SlNo } public string EmployeeNomineeNomineeName { get { return employeenomineenomineename; } //NomineeName set { employeenomineenomineename = value; } //NomineeName } public string EmployeeNomineeRelation { get { return employeenomineerelation; } //Relation set { employeenomineerelation = value; } //Relation } public DateTime EmployeeNomineeDOB { get { return employeenomineedob; } //DOB set { employeenomineedob = value; } //DOB } public string EmployeeNomineeAddress { get { return employeenomineeaddress; } //Address set { employeenomineeaddress = value; } //Address } public double EmployeeNomineePercentage { get { return employeenomineepercentage; } //Percentage set { employeenomineepercentage = value; } //Percentage } public string EmployeeNomineeGuardian { get { return employeenomineeguardian; } //Guardian set { employeenomineeguardian = value; } //Guardian } public string EmployeeNomineeGuardianAddress { get { return employeenomineeguardianaddress; } //GuardianAddress set { employeenomineeguardianaddress = value; } //GuardianAddress } public string EmployeeNomineeAadharNumber { get { return employeenomineeaadharnumber; } //AadharNumber set { employeenomineeaadharnumber = value; } //AadharNumber } public int CheckingCopyFromOption { get { return checkingcopyfromoption; } //checkingcopyfromoption set { checkingcopyfromoption = value; } //checkingcopyfromoption } #endregion #endregion } }