using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Employee { public class EmployeeImportCommonDTO { private string codecategory = ""; private string employeecode = ""; private string employeename = ""; private byte employeestatus; private int departmentid = -1; private int employeetypeid = -1; private int stafftypeid = -1; private int designationid = -1; private int segmentid = -1; private int subunitid = -1; private int locationid = -1; private int employeegroupid = -1; private int worktypeid = -1; private int destinationid = -1; private int salarygradeid = -1; private string fathername = ""; private string mothername = ""; private string spousename = ""; private int casteid = -1; private byte martialstatus; private byte sex; private string bloodgroup = ""; private string nominee = ""; private string nomineerelation = ""; private int nationalityid = -1; private int religionid = -1; private DateTime dateofbirth; private DateTime actualdateofbirth; private string experience = ""; private string aadharnumber = ""; private DateTime dateofjoining; private DateTime probationstartdate; private byte confirmedstatus; private DateTime dateofconfirmation; private int ounameid = -1; private int workingbranchid = -1; private int workingdivisionid = -1; private int gratuitygroupid = -1; private byte pfapplicalble; private byte pfstatus; private string pfnumber = ""; private DateTime pfjoindate; private double pfemployeepercentage; private double pfemployerpercentage; private string pfuannumber = ""; private byte esiapplicable; private byte esistatus; private string esinumber = ""; private DateTime esijoindate; private double esiemployeepercentage; private double esiemployerpercentage; private int shiftid = -1; private byte weekoffday = 1; private byte attendancetype; private byte punchtype; private byte dailyreport; private int reportingtoemployeeid = -1; private byte biomatchnumber; private string primaryemailid = ""; private string primarymobileno = ""; private string pannumber = ""; private byte paymode; private int banknameid = -1; private int bankbranchnameid = -1; private string ifsccode = ""; private string accountnumber = ""; private byte ottype; private byte salarybasison; private int payconfigurationid = -1; private byte pirequired; private string heightincms = "0"; private string weightinkgs = "0"; private string chestsize = "0"; private byte ishandicapped; private string identificationmark = ""; private byte isuser = 1; private int roleid = -1; private string presentaddress1 = ""; private string presentaddress2 = ""; private string presentaddress3 = ""; private string presentaddress4 = ""; private string presentaddresspincode = "0"; private int presentaddressstateid = -1; private string permanentaddress1 = ""; private string permanentaddress2 = ""; private string permanentaddress3 = ""; private string permanentaddresspincode = "0"; private int permanentaddressstateid = -1; private string contactpersonname = ""; private string contactmobileno = ""; private string contactpersonrelationship = ""; private string contactsalutation = ""; private string secondarymailid = ""; private string secondarymobile = ""; private string ibannumber = ""; private string employeebankbranch = ""; private int employeebankbranchid = -1; private string temporarycardnumber = ""; private string employeestatusstring = ""; private DateTime dateofresignation = Convert.ToDateTime("9999-dec-31"); private string ispfapplicablestring; private string isesiapplicablestring; private int costcenterid = -1; private string categoryflg = ""; private string docflg = ""; private double employeetrainingperiod = 12; private string employeefirstname = ""; private DateTime dateofintimation = Convert.ToDateTime("31-Dec-9999"); private string reasonforleaving = ""; private byte employeecostcentertype; private int costcenterallocationid = -1; private byte employeeiscrossou = 1; private int ougroupid = -1; private string employeephysicalcondition; private DateTime employeecalculateddateofretirment = Convert.ToDateTime("9999-dec-31"); private DateTime employeeactualdateofretirment = Convert.ToDateTime("9999-dec-31"); private byte employeeisfamilypension = 1; private string employeefamilypensionnumber = ""; private double employeefamilypensionpercentage; private DateTime employeepfenddate = Convert.ToDateTime("9999-dec-31"); private DateTime employeeesienddate = Convert.ToDateTime("9999-dec-31"); private byte employeeotpaymode; private byte employeeistdsapplicable; private int accountid = -1; private string employeeonsiteplace = ""; private int advanceaccountid = -1; private int salaryaccountid = -1; private byte employeeiscontract = 1; private byte employeeisnumber = 1; private byte employeeispurchase = 1; private byte employeeismarketing = 1; private byte employeeissales = 1; private byte employeeisplanning = 1; private byte employeeisservice = 1; private int shiftpatterndetailid = -1; private DateTime employeepatterndate = DateTime.Now; private int villageid = -1; private int calendarid = -1; private int resourcetypeid = -1; private byte employeeisproduction = 1; private int currencyid = -1; private int adminreportingtoid = -1; private string middlename = ""; private string lastname; private DateTime employeetrainingendingdate = Convert.ToDateTime(DateTime.Now.ToString("dd-MMM-yyyy")); private byte employeeistimesheetrequired = 1; private byte employeeispostingrequired = 1; private string employeeplaceofbirth = ""; private string employeenativeplace = ""; private string employeenativedistrict = ""; private Int16 employeenoticeperiodindays = 0; private DateTime employeedateofrejoin = Convert.ToDateTime("9999-dec-31"); private string employeelegacyemployeecode = ""; private int presentcityid = -1; private string presentmobilenumber = ""; private int permanentcityid = -1; private string permanentmobilenumber = ""; public string CodeCategory { get { return codecategory; } set { codecategory = value; } } public string EmployeeCode { get { return employeecode; } set { employeecode = value; } } public string EmployeeName { get { return employeename; } set { employeename = value; } } public byte EmployeeStatus { get { return employeestatus; } set { employeestatus = value; } } public int DepartmentId { get { return departmentid; } set { departmentid = value; } } public int EmployeeTypeId { get { return employeetypeid; } set { employeetypeid = value; } } public int StaffTypeId { get { return stafftypeid; } set { stafftypeid = value; } } public int DesignationId { get { return designationid; } set { designationid = value; } } public int SegmentId { get { return segmentid; } set { segmentid = value; } } public int SubUnitId { get { return subunitid; } set { subunitid = value; } } public int LocationId { get { return locationid; } set { locationid = value; } } public int EmployeeGroupId { get { return employeegroupid; } set { employeegroupid = value; } } public int WorkTypeId { get { return worktypeid; } set { worktypeid = value; } } public int DestinationId { get { return destinationid; } set { destinationid = value; } } public int SalaryGradeId { get { return salarygradeid; } set { salarygradeid = value; } } public string FatherName { get { return fathername; } set { fathername = value; } } public string MotherName { get { return mothername; } set { mothername = value; } } public string SpouseName { get { return spousename; } set { spousename = value; } } public int CasteId { get { return casteid; } set { casteid = value; } } public byte MartialStatus { get { return martialstatus; } set { martialstatus = value; } } public byte Sex { get { return sex; } set { sex = value; } } public string BloodGroup { get { return bloodgroup; } set { bloodgroup = value; } } public string Nominee { get { return nominee; } set { nominee = value; } } public string NomineeRelation { get { return nomineerelation; } set { nomineerelation = value; } } public int NationalityId { get { return nationalityid; } set { nationalityid = value; } } public int ReligionId { get { return religionid; } set { religionid = value; } } public DateTime DateofBirth { get { return dateofbirth; } set { dateofbirth = value; } } public DateTime ActualDateofBirth { get { return actualdateofbirth; } set { actualdateofbirth = value; } } public string Experience { get { return experience; } set { experience = value; } } public string AadharNumber { get { return aadharnumber; } set { aadharnumber = value; } } public DateTime DateofJoining { get { return dateofjoining; } set { dateofjoining = value; } } public DateTime ProbationStartDate { get { return probationstartdate; } set { probationstartdate = value; } } public byte ConfirmedStatus { get { return confirmedstatus; } set { confirmedstatus = value; } } public DateTime DateOfConfirmation { get { return dateofconfirmation; } set { dateofconfirmation = value; } } public int OuNameId { get { return ounameid; } set { ounameid = value; } } public int WorkingBranchId { get { return workingbranchid; } set { workingbranchid = value; } } public int WorkingDivisionId { get { return workingdivisionid; } set { workingdivisionid = value; } } public int GratuityGroupId { get { return gratuitygroupid; } set { gratuitygroupid = value; } } public byte PfApplicalble { get { return pfapplicalble; } set { pfapplicalble = value; } } public byte PfStatus { get { return pfstatus; } set { pfstatus = value; } } public string PfNumber { get { return pfnumber; } set { pfnumber = value; } } public DateTime PfjoinDate { get { return pfjoindate; } set { pfjoindate = value; } } public double PfEmployeePercentage { get { return pfemployeepercentage; } set { pfemployeepercentage = value; } } public double PfEmployerPercentage { get { return pfemployerpercentage; } set { pfemployerpercentage = value; } } public string PfuanNumber { get { return pfuannumber; } set { pfuannumber = value; } } public byte EsIApplicable { get { return esiapplicable; } set { esiapplicable = value; } } public byte EsiStatus { get { return esistatus; } set { esistatus = value; } } public string EsiNumber { get { return esinumber; } set { esinumber = value; } } public DateTime EsiJoinDate { get { return esijoindate; } set { esijoindate = value; } } public double EsiEmployeePercentage { get { return esiemployeepercentage; } set { esiemployeepercentage = value; } } public double EsiEmployerPercentage { get { return esiemployerpercentage; } set { esiemployerpercentage = value; } } public int ShiftId { get { return shiftid; } set { shiftid = value; } } public byte WeekOffDay { get { return weekoffday; } set { weekoffday = value; } } public byte AttendanceType { get { return attendancetype; } set { attendancetype = value; } } public byte PunchType { get { return punchtype; } set { punchtype = value; } } public byte DailyReport { get { return dailyreport; } set { dailyreport = value; } } public int ReportingToEmployeeId { get { return reportingtoemployeeid; } set { reportingtoemployeeid = value; } } public byte BioMatchNumber { get { return biomatchnumber; } set { biomatchnumber = value; } } public string PrimaryEmailId { get { return primaryemailid; } set { primaryemailid = value; } } public string PrimaryMobileNo { get { return primarymobileno; } set { primarymobileno = value; } } public string PanNumber { get { return pannumber; } set { pannumber = value; } } public byte PayMode { get { return paymode; } set { paymode = value; } } public int BankNameId { get { return banknameid; } set { banknameid = value; } } public int BankBranchNameId { get { return bankbranchnameid; } set { bankbranchnameid = value; } } public string IFSCCode { get { return ifsccode; } set { ifsccode = value; } } public string AccountNumber { get { return accountnumber; } set { accountnumber = value; } } public byte OTTYPE { get { return ottype; } set { ottype = value; } } public byte SalaryBasisOn { get { return salarybasison; } set { salarybasison = value; } } public int PayconfigurationId { get { return payconfigurationid; } set { payconfigurationid = value; } } public byte PIrequired { get { return pirequired; } set { pirequired = value; } } public string HeightinCMS { get { return heightincms; } set { heightincms = value; } } public string WeightinKGS { get { return weightinkgs; } set { weightinkgs = value; } } public string ChestSize { get { return chestsize; } set { chestsize = value; } } public byte IsHandicapped { get { return ishandicapped; } set { ishandicapped = value; } } public string IdentificationMark { get { return identificationmark; } set { identificationmark = value; } } public byte IsUser { get { return isuser; } set { isuser = value; } } public int RoleId { get { return roleid; } set { roleid = value; } } public string PresentAddress1 { get { return presentaddress1; } set { presentaddress1 = value; } } public string PresentAddress2 { get { return presentaddress2; } set { presentaddress2 = value; } } public string PresentAddress3 { get { return presentaddress3; } set { presentaddress3 = value; } } public string PresentAddress4 { get { return presentaddress4; } set { presentaddress4 = value; } } public string PresentAddressPincode { get { return presentaddresspincode; } set { presentaddresspincode = value; } } public int PresentAddressStateId { get { return presentaddressstateid; } set { presentaddressstateid = value; } } public string PermanentAddress1 { get { return permanentaddress1; } set { permanentaddress1 = value; } } public string PermanentAddress2 { get { return permanentaddress2; } set { permanentaddress2 = value; } } public string PermanentAddress3 { get { return permanentaddress3; } set { permanentaddress3 = value; } } public string PermanentAddressPinCode { get { return permanentaddresspincode; } set { permanentaddresspincode = value; } } public int PermanentAddressStateId { get { return permanentaddressstateid; } set { permanentaddressstateid = value; } } public string ContactPersonName { get { return contactpersonname; } set { contactpersonname = value; } } public string ContactMobileNo { get { return contactmobileno; } set { contactmobileno = value; } } public string ContactPersonRelationship { get { return contactpersonrelationship; } set { contactpersonrelationship = value; } } public string ContactSalutation { get { return contactsalutation; } set { contactsalutation = value; } } public string SecondaryMailId { get { return secondarymailid; } set { secondarymailid = value; } } public string SecondaryMobile { get { return secondarymobile; } set { secondarymobile = value; } } public string IBANNumber { get { return ibannumber; } set { ibannumber = value; } } public string EmployeeBankBranch { get { return employeebankbranch; } set { employeebankbranch = value; } } public int EmployeeBankBranchId { get { return employeebankbranchid; } set { employeebankbranchid = value; } } public string TemporaryCardNumber { get { return temporarycardnumber; } set { temporarycardnumber = value; } } public string EmployeeStatusString { get { return employeestatusstring; } set { employeestatusstring = value; } } public DateTime DateOfResignation { get { return dateofresignation; } set { dateofresignation = value; } } public string IsPFApplicableString { get { return ispfapplicablestring; } set { ispfapplicablestring = value; } } public string IsESIApplicableString { get { return isesiapplicablestring; } set { isesiapplicablestring = value; } } public int CostCenterId { get { return costcenterid; } //Id set { costcenterid = value; } //Id } public string CategoryFlg { get { return categoryflg; } set { categoryflg = value; } } public string DocFlg { get { return docflg; } set { docflg = value; } } public double EmployeeTrainingPeriod { get { return employeetrainingperiod; } set { employeetrainingperiod = value; } } public string EmployeeFirstName { get { return employeefirstname; } set { employeefirstname = value; } } public DateTime DateOfIntimation { get { return dateofintimation; } set { dateofintimation = value; } } public string ReasonForLeaving { get { return reasonforleaving; } set { reasonforleaving = value; } } //Added By The List Given by Arul Sir by Vikash on 25 Feb 2023 public byte EmployeeCostCenterType { get { return employeecostcentertype; } //CoscCenterType set { employeecostcentertype = value; } //CoscCenterType } public int CostCenterAllocationId { get { return costcenterallocationid; } //Id set { costcenterallocationid = value; } //Id } public byte EmployeeIsCrossOU { get { return employeeiscrossou; } //IsCrossOU set { employeeiscrossou = value; } //IsCrossOU } public int OUGroupId { get { return ougroupid; } //Id set { ougroupid = value; } //Id } public string EmployeePhysicalCondition { get { return employeephysicalcondition; } //PhysicalCondition set { employeephysicalcondition = value; } //PhysicalCondition } public DateTime EmployeeCalculatedDateOfRetirment { get { return employeecalculateddateofretirment; } //CalculatedDateOfRetirment set { employeecalculateddateofretirment = value; } //CalculatedDateOfRetirment } public DateTime EmployeeActualDateOfRetirment { get { return employeeactualdateofretirment; } //ActualDateOfRetirment set { employeeactualdateofretirment = value; } //ActualDateOfRetirment } public byte EmployeeIsFamilyPension { get { return employeeisfamilypension; } //IsFamilyPension set { employeeisfamilypension = value; } //IsFamilyPension } public string EmployeeFamilyPensionNumber { get { return employeefamilypensionnumber; } //FamilyPensionNumber set { employeefamilypensionnumber = value; } //FamilyPensionNumber } public double EmployeeFamilyPensionPercentage { get { return employeefamilypensionpercentage; } //FamilyPensionPercentage set { employeefamilypensionpercentage = value; } //FamilyPensionPercentage } public DateTime EmployeePFEndDate { get { return employeepfenddate; } //PFEndDate set { employeepfenddate = value; } } public DateTime EmployeeESIEndDate { get { return employeeesienddate; } //ESIEndDate set { employeeesienddate = value; } //ESIEndDate } public byte EmployeeOTPayMode { get { return employeeotpaymode; } //OTPayMode set { employeeotpaymode = value; } //OTPayMode } public byte EmployeeIsTDSApplicable { get { return employeeistdsapplicable; } //IsTDSApplicable set { employeeistdsapplicable = value; } //IsTDSApplicable } public int AccountId { get { return accountid; } //Id set { accountid = value; } //Id } public string EmployeeOnSitePlace { get { return employeeonsiteplace; } //OnSitePlace set { employeeonsiteplace = value; } //OnSitePlace } public int AdvanceAccountId { get { return advanceaccountid; } //Id set { advanceaccountid = value; } //Id } public int SalaryAccountId { get { return salaryaccountid; } //Id set { salaryaccountid = value; } //Id } public byte EmployeeIsContract { get { return employeeiscontract; } //IsContract set { employeeiscontract = value; } //IsContract } public byte EmployeeIsNumber { get { return employeeisnumber; } //IsNumber set { employeeisnumber = value; } //IsNumber } public byte EmployeeIsPurchase { get { return employeeispurchase; } //IsPurchase set { employeeispurchase = value; } //IsPurchase } public byte EmployeeIsMarketing { get { return employeeismarketing; } //IsMarketing set { employeeismarketing = value; } //IsMarketing } public byte EmployeeIsSales { get { return employeeissales; } //IsSales set { employeeissales = value; } //IsSales } public byte EmployeeIsPlanning { get { return employeeisplanning; } //IsPlanning set { employeeisplanning = value; } //IsPlanning } public byte EmployeeIsService { get { return employeeisservice; } //IsService set { employeeisservice = value; } //IsService } public int ShiftPatternDetailId { get { return shiftpatterndetailid; } //ShiftPatternDetailId set { shiftpatterndetailid = value; } //ShiftPatternDetailId } public DateTime EmployeePatternDate { get { return employeepatterndate; } //EmployeePatternDate set { employeepatterndate = value; } //EmployeePatternDate } public int VillageId { get { return villageid; } //Id set { villageid = value; } //Id } public int CalendarId { get { return calendarid; } set { calendarid = value; } } public int ResourceTypeId { get { return resourcetypeid; } set { resourcetypeid = value; } } public byte EmployeeIsProduction { get { return employeeisproduction; } //EmployeeIsProduction set { employeeisproduction = value; } //EmployeeIsProduction } public int CurrencyId { get { return currencyid; } //Code set { currencyid = value; } //Code } public int AdminReportingToId { get { return adminreportingtoid; } //Id set { adminreportingtoid = value; } //Id } public string MiddleName { get { return middlename; } //MiddleName set { middlename = value; } //MiddleName } public string LastName { get { return lastname; } //LastName set { lastname = value; } //LastName } public DateTime EmployeeTrainingendingDate { get { return employeetrainingendingdate; } set { employeetrainingendingdate = value; } } public byte EmployeeIsTimeSheetRequired { get { return employeeistimesheetrequired; } set { employeeistimesheetrequired = value; } } public byte EmployeeIsPostingRequired { get { return employeeispostingrequired; } set { employeeispostingrequired = value; } } public string EmployeePlaceOfBirth { get { return employeeplaceofbirth; } set { employeeplaceofbirth = value; } } public string EmployeeNativePlace { get { return employeenativeplace; } set { employeenativeplace = value; } } public string EmployeeNativeDistrict { get { return employeenativedistrict; } set { employeenativedistrict = value; } } public Int16 EmployeeNoticePeriodInDays { get { return employeenoticeperiodindays; } set { employeenoticeperiodindays = value; } } public DateTime EmployeeDateOfReJoin { get { return employeedateofrejoin; } set { employeedateofrejoin = value; } } public string EmployeeLegacyEmployeeCode { get { return employeelegacyemployeecode; } set { employeelegacyemployeecode = value; } } public int PresentCityId { get { return presentcityid; } set { presentcityid = value; } } public string PresentMobileNumber { get { return presentmobilenumber; } set { presentmobilenumber = value; } } public int PermanentCityId { get { return permanentcityid; } set { permanentcityid = value; } } public string PermanentMobileNumber { get { return permanentmobilenumber; } set { permanentmobilenumber = value; } } private DateTime employeeversionfrom = Convert.ToDateTime(DateTime.Now.ToString("dd-MMM-yyyy"));//Done by Vikash For Redmine [GB4.1 - Task #39134] on 29-July-2023 public DateTime EmployeeVersionFrom { get { return employeeversionfrom; } set { employeeversionfrom = value; } } } }