using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.PayProcess { public class PayProcessNewDTO { #region EmployeeDetail private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion private Int16 payconfigurationdetailslno; //SlNo private int totalcount; //SlNo private byte payconfigurationdetailfieldtype; //FieldType private string payconfigurationdetailfieldcode; //FieldName private string fieldname; //FieldName private byte payconfigurationdetailoperationtype; //OperationType private string subperiodname; private string monthname; private int slno; private string type = ""; private int payperiodid; //Id private string payperiodname; //Code private string bonuspercent; private int noofcount; private string designationname; private DateTime payperiodfromdate; //FromDate private DateTime payperiodtodate; //ToDate private DateTime fromdate; private Int64 comparisonslno; #region PERIOD FIELDS private decimal totaldays; private decimal workingdays; private decimal c2c; private decimal fieldvalue; #endregion #region ATTENDANCE FIELDS (EITHER AS FIELDS OR AS LINKED FIELDS) private decimal presentdays; private decimal workeddays; private decimal totalworkeddays; private decimal weeklyoffdays; private decimal totalweeklyoffdays; private decimal holidays; private decimal totalholidays; private decimal leavedays; private decimal totalleavedays; private decimal absentdays; private decimal totalabsentdays; private decimal paiddays; private decimal workedhours; private decimal totalworkedhours; private decimal leavehours; private decimal paidhours; private decimal officialpermissionhours; private decimal personalpermissionhours; private decimal earlyin; private decimal earlyout; private decimal latein; private decimal lateout; private decimal shortagehours; private decimal extrahours; private decimal gracehours; private decimal totalgracehours; private decimal actualhours; private decimal othours; private decimal otfactorhours; private decimal compensatorywork; private decimal totalcompensatorywork; private decimal compensatoryleave; private decimal totalcompensatoryleave; private byte salaryabstracttype; private string employeetypecode; //Code private string employeetypename; //Name #endregion #region Department private int departmentid; //Id private string departmentcode; //Code private string departmentname; //Name private string code; //Code private string name; //Name private int payprocessid; private DateTime dateofbirth; #endregion #region PAYMENT FIELDS private decimal paymentbatch; private DateTime paidon; private int paidby; private int payslipstatus; private string reason; private string remarks; private int paymode; #endregion #region CONTRACT FIELDS private int contractdetailid; private int wageruleid; private int ruleid; #endregion #region WAGE FIELDS private int worktypeid; private string worktypecode; private string worktypename; #endregion #region ESIPF FIELDS private decimal pfemployerpercentage; private decimal pfemployeractualpercentage; private decimal fpfemployerpercentage; private decimal fpfemployeractualpercentage; private decimal dlipercentage; private decimal pfemployeepercentage; private decimal pfemployeeactualpercentage; private decimal fpfemployeeactualpercentage; private decimal esiemployerpercentage; private decimal esiemployeepercentage; #endregion #region TRAVEL FIELDS private decimal kmeters; private decimal employeekmcharges; private decimal employerkmcharges; private decimal kmcharges; #endregion #region FINAL SALARY FIGURES private decimal totalearnings; private decimal totaldeductions; private decimal netsalary; #endregion #region ACCOUNT DETAILS private int employeeaccountid; #endregion #region ACCOUNTPOST private byte isaccountpost; private int voucherid = -1; #endregion #region PERIOD FIELDS public decimal TotalDays { get { return totaldays; } set { totaldays = value; } } public decimal WorkingDays { get { return workingdays; } set { workingdays = value; } } #endregion #region ATTENDANCE FIELDS (EITHER AS FIELDS OR AS LINKED FIELDS) public decimal PresentDays { get { return presentdays; } set { presentdays = value; } } public decimal WorkedDays { get { return workeddays; } set { workeddays = value; } } public decimal TotalworkedDays { get { return totalworkeddays; } set { totalworkeddays = value; } } public decimal WeeklyoffDays { get { return weeklyoffdays; } set { weeklyoffdays = value; } } public decimal TotalweeklyoffDays { get { return weeklyoffdays; } set { totalweeklyoffdays = value; } } public decimal Holidays { get { return holidays; } set { holidays = value; } } public decimal TotalHolidays { get { return totalholidays; } set { totalholidays = value; } } public decimal LeaveDays { get { return leavedays; } set { leavedays = value; } } public decimal TotalLeaveDays { get { return totalleavedays; } set { totalleavedays = value; } } public decimal AbsentDays { get { return absentdays; } set { absentdays = value; } } public decimal TotalAbsentDays { get { return totalabsentdays; } set { totalabsentdays = value; } } public decimal PaidDays { get { return paiddays; } set { paiddays = value; } } public decimal WorkedHours { get { return workedhours; } set { workedhours = value; } } public decimal TotalWorkedHours { get { return totalworkedhours; } set { totalworkedhours = value; } } public decimal LeaveHours { get { return leavehours; } set { leavehours = value; } } public decimal PaidHours { get { return paidhours; } set { paidhours = value; } } public decimal OfficialPermissionHours { get { return officialpermissionhours; } set { officialpermissionhours = value; } } public decimal PersonalPermissionHours { get { return personalpermissionhours; } set { personalpermissionhours = value; } } public decimal EarlyIn { get { return earlyin; } set { earlyin = value; } } public decimal EarlyOut { get { return earlyout; } set { earlyout = value; } } public decimal LateIn { get { return latein; } set { latein = value; } } public decimal LateOut { get { return lateout; } set { lateout = value; } } public decimal ShortageHours { get { return shortagehours; } set { shortagehours = value; } } public decimal ExtraHours { get { return extrahours; } set { extrahours = value; } } public decimal GraceHours { get { return gracehours; } set { gracehours = value; } } public decimal TotalGraceHours { get { return totalgracehours; } set { totalgracehours = value; } } public decimal ActualHours { get { return actualhours; } set { actualhours = value; } } public decimal OtHours { get { return othours; } set { othours = value; } } public decimal OtfactorHours { get { return otfactorhours; } set { otfactorhours = value; } } public decimal CompensatoryWork { get { return compensatorywork; } set { compensatorywork = value; } } public decimal TotalCompensatoryWork { get { return totalcompensatorywork; } set { totalcompensatorywork = value; } } public decimal CompensatoryLeave { get { return compensatoryleave; } set { compensatoryleave = value; } } public decimal TotalCompensatoryLeave { get { return totalcompensatoryleave; } set { totalcompensatoryleave = value; } } #endregion #region PAYMENT FIELDS public decimal PaymentBatch { get { return paymentbatch; } set { paymentbatch = value; } } public virtual DateTime PaidOn { get { return paidon; } set { paidon = value; } } public virtual int PaidBy { get { return paidby; } set { paidby = value; } } public int PaySlipStatus { get { return payslipstatus; } set { payslipstatus = value; } } public string Reason { get { return reason; } set { reason = value; } } public string Remarks { get { return remarks; } set { remarks = value; } } public int PayMode { get { return paymode; } set { paymode = value; } } #endregion #region CONTRACT FIELDS public int ContractdetailId { get { return contractdetailid; } set { contractdetailid = value; } } public int WageRuleId { get { return wageruleid; } set { wageruleid = value; } } public int RuleId { get { return ruleid; } set { ruleid = value; } } #endregion #region WAGE FIELDS public int WorkTypeId { get { return worktypeid; } set { worktypeid = value; } } public string WorkTypeCode { get { return worktypecode; } set { worktypecode = value; } } public string WorkTypeName { get { return worktypename; } set { worktypename = value; } } #endregion private decimal addonfieldvalue; private string addontype; private decimal addonfieldvalue1; private string addontype1; private decimal addonfieldvalue2; private string addontype2; #region ESIPF FIELDS public decimal PFEmployerPercentage { get { return pfemployerpercentage; } set { pfemployerpercentage = value; } } public decimal PFActualEmployerPercentage { get { return pfemployeractualpercentage; } set { pfemployeractualpercentage = value; } } public decimal FPFemployerPercentage { get { return fpfemployerpercentage; } set { fpfemployerpercentage = value; } } public decimal FPFEmployeractualPercentage { get { return fpfemployeractualpercentage; } set { fpfemployeractualpercentage = value; } } public decimal DLIPercentage { get { return dlipercentage; } set { dlipercentage = value; } } public decimal PFEmployeePercentage { get { return pfemployeepercentage; } set { pfemployeepercentage = value; } } public decimal PFEmployeeActualPercentage { get { return pfemployeeactualpercentage; } set { pfemployeeactualpercentage = value; } } public decimal FPFEmployeeActualPercentage { get { return fpfemployeeactualpercentage; } set { fpfemployeeactualpercentage = value; } } public decimal ESIEmployerPercentage { get { return esiemployerpercentage; } set { esiemployerpercentage = value; } } public decimal EsiEmployeepercentage { get { return esiemployeepercentage; } set { esiemployeepercentage = value; } } #endregion #region TRAVEL FIELDS public decimal Kmeters { get { return kmeters; } set { kmeters = value; } } public decimal EmployeeKmCharges { get { return employeekmcharges; } set { employeekmcharges = value; } } public decimal EmployerKmCharges { get { return employerkmcharges; } set { employerkmcharges = value; } } public decimal Kmcharges { get { return kmcharges; } set { kmcharges = value; } } #endregion #region FINAL SALARY FIGURES public decimal TotalEarnings { get { return totalearnings; } set { totalearnings = value; } } public decimal TotalDeductions { get { return totaldeductions; } set { totaldeductions = value; } } public decimal NetSalary { get { return netsalary; } set { netsalary = value; } } #endregion #region ACCOUNT DETAILS public int EmployeeAccountId { get { return employeeaccountid; } set { employeeaccountid = value; } } #endregion #region ACCOUNTPOST public byte IsAccountPost { get { return isaccountpost; } set { isaccountpost = value; } } public int VoucherId { get { return voucherid; } set { voucherid = value; } } #endregion private string month; private int monthorder; private string year; public Int64 CompSlNo { get { return comparisonslno; } set { comparisonslno = value; } } public decimal C2C { get { return c2c; } set { c2c = value; } } public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } set { employeecode = value; } } public string EmployeeName { get { return employeename; } set { employeename = value; } } public string SubPeriodName { get { return subperiodname; } set { subperiodname = value; } } public string MonthName { get { return monthname; } set { monthname = value; } } public int SlNo { get { return slno; } set { slno = value; } } public string Type { get { return type; } set { type = value; } } public int PayPeriodId { get { return payperiodid; } //Id set { payperiodid = value; } //Id } public int PayProcessId { get { return payprocessid; } //Id set { payprocessid = value; } //Id } public DateTime PayPeriodFromDate { get { return payperiodfromdate; } //FromDate set { payperiodfromdate = value; } //FromDate } public DateTime PayPeriodToDate { get { return payperiodtodate; } //ToDate set { payperiodtodate = value; } //ToDate } public DateTime DateOfBirth { get { return dateofbirth; } //ToDate set { dateofbirth = value; } //ToDate } public string PayPeriodName { get { return payperiodname; } set { payperiodname = value; } } public string FieldName { get { return fieldname; } set { fieldname = value; } } public Int16 PayConfigurationDetailSlNo { get { return payconfigurationdetailslno; } //SlNo set { payconfigurationdetailslno = value; } //SlNo } public byte PayConfigurationDetailFieldType { get { return payconfigurationdetailfieldtype; } //FieldType set { payconfigurationdetailfieldtype = value; } //FieldType } public string PayConfigurationDetailFieldCode { get { return payconfigurationdetailfieldcode; } //FieldName set { payconfigurationdetailfieldcode = value; } //FieldName } public byte PayConfigurationDetailOperationType { get { return payconfigurationdetailoperationtype; } //OperationType set { payconfigurationdetailoperationtype = value; } //OperationType } public decimal FieldValue { get { return fieldvalue; } set { fieldvalue = value; } } #region Department public int DepartmentId { get { return departmentid; } //Id set { departmentid = value; } //Id } public string DepartmentCode { get { return departmentcode; } //Code set { departmentcode = value; } //Code } public string DepartmentName { get { return departmentname; } //Name set { departmentname = value; } //Name } public byte SalaryAbstractType { get { return salaryabstracttype; } set { salaryabstracttype = value; } } #endregion public string EmployeeTypeCode { get { return employeetypecode; } //Code set { employeetypecode = value; } //Code } public string EmployeeTypeName { get { return employeetypename; } //Name set { employeetypename = value; } //Name } public string Code { get { return code; } //Code set { code = value; } //Code } public string Name { get { return name; } //Name set { name = value; } //Name } public int TotalCount { get { return totalcount; } set { totalcount = value; } } public decimal AddonFieldValue { get { return addonfieldvalue; } set { addonfieldvalue = value; } } public string AddonType { get { return addontype; } set { addontype = value; } } public decimal AddonFieldValue2 { get { return addonfieldvalue2; } set { addonfieldvalue2 = value; } } public string AddonType1 { get { return addontype1; } set { addontype1 = value; } } public decimal AddonFieldValue1 { get { return addonfieldvalue1; } set { addonfieldvalue1 = value; } } public string AddonType2 { get { return addontype2; } set { addontype2 = value; } } public string BonusPercent { get { return bonuspercent; } set { bonuspercent = value; } } public string DesignationName { get { return designationname; } set { designationname = value; } } public int NoofCount { get { return noofcount; } set { noofcount = value; } } public string Month { get { return month; } set { month = value; } } public int MonthOrder { get { return monthorder; } set { monthorder = value; } } public string Year { get { return year; } set { year = value; } } public DateTime FromDate { get { return fromdate; } set { fromdate = value; } } private string payconfigurationoperationtype; public string PayConfigurationOperationType { get { return payconfigurationoperationtype; } set { payconfigurationoperationtype = value; } } } }