using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Periodic { public class PeriodicDTO { #region PrivateMembers #region Periodic private int periodicid; //Id #region PayPeriod private int payperiodid; //Id private string payperiodcode; //Code #endregion private byte periodicapplicable; //Applicable #region PayGroup private int paygroupid = -1; //Id private string paygroupcode; //Code private string paygroupname; //Name #endregion #region OrganizationUnit private int ouid; //Id private string oucode; //Code private string ouname; //Name #endregion #region Employee private int employeeid; //Id private string employeecode; //Code private string employeename; //Name private Int16 employeesortorder; //Name #endregion private int periodicdagroup = -1; //DAGroup private string dagroupcode; private string dagroupName; #region PayConfiguration private int payconfigurationid; //Id private string payconfigurationcode; //Code private string payconfigurationname; //Name #endregion private IList periodicaddon; private string periodicapplicablevalue; #endregion #region Base private byte periodicstatus; //Status private Int16 periodicversion; //Version #endregion #region Standard private int periodiccreatedbyid; //CreatedById private DateTime periodiccreatedon; //CreatedOn private int periodicmodifiedbyid; //ModifiedById private DateTime periodicmodifiedon; //ModifiedOn #endregion private int mmdetailid = -1; private int mainsubtypeid = -1; private string mainsubtypecode; private string mainsubtypename; private int monthlyattendanceid = -1; #endregion #region PublicMembers #region Periodic public int PeriodicId { get { return periodicid; } //Id set { periodicid = value; } //Id } #region PayPeriod public int PayPeriodId { get { return payperiodid; } //Id set { payperiodid = value; } //Id } public string PayPeriodCode { get { return payperiodcode; } //Code set { payperiodcode = value; } //Code } #endregion public byte PeriodicApplicable { get { return periodicapplicable; } //Applicable set { periodicapplicable = value; } //Applicable } #region PayGroup public int PayGroupId { get { return paygroupid; } //Id set { paygroupid = value; } //Id } public string PayGroupCode { get { return paygroupcode; } //Code set { paygroupcode = value; } //Code } public string PayGroupName { get { return paygroupname; } //Name set { paygroupname = value; } //Name } #endregion #region OrganizationUnit public int OUId { get { return ouid; } //Id set { ouid = value; } //Id } public string OUCode { get { return oucode; } //Code set { oucode = value; } //Code } public string OUName { get { return ouname; } //Name set { ouname = value; } //Name } #endregion #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 } public Int16 EmployeeSortOrder { get { return employeesortorder; } //Name set { employeesortorder = value; } //Name } #endregion #region Employee public int DAGroupId { get { return periodicdagroup; } //DAGroup set { periodicdagroup = value; } //DAGroup } public string DAGroupCode { get { return dagroupcode; } //Code set { dagroupcode = value; } //Code } public string DAGroupName { get { return dagroupName; } //Name set { dagroupName = value; } //Name } #endregion #region PayConfiguration public int PayConfigurationId { get { return payconfigurationid; } //Id set { payconfigurationid = value; } //Id } public string PayConfigurationCode { get { return payconfigurationcode; } //Code set { payconfigurationcode = value; } //Code } public string PayConfigurationName { get { return payconfigurationname; } //Name set { payconfigurationname = value; } //Name } public IList PeriodicAddon { get { return periodicaddon; } set { periodicaddon = value; } } #endregion #endregion #region Base public byte PeriodicStatus { get { return periodicstatus; } //Status set { periodicstatus = value; } //Status } public Int16 PeriodicVersion { get { return periodicversion; } //Version set { periodicversion = value; } //Version } #endregion #region Standard public int PeriodicCreatedById { get { return periodiccreatedbyid; } //CreatedById set { periodiccreatedbyid = value; } //CreatedById } public DateTime PeriodicCreatedOn { get { return periodiccreatedon; } //CreatedOn set { periodiccreatedon = value; } //CreatedOn } public int PeriodicModifiedById { get { return periodicmodifiedbyid; } //ModifiedById set { periodicmodifiedbyid = value; } //ModifiedById } public DateTime PeriodicModifiedOn { get { return periodicmodifiedon; } //ModifiedOn set { periodicmodifiedon = value; } //ModifiedOn } #endregion public string PeriodicApplicableValue { get { return periodicapplicablevalue; } //Applicable set { periodicapplicablevalue = value; } //Applicable } private Int64 numberofrecords; private string label = ""; public Int64 NumberOfRecords { get { return numberofrecords; } set { numberofrecords = value; } } public string Label { get { return label; } set { label = value; } } public int MMDetailId { get { return mmdetailid; } set { mmdetailid = value; } } public int MainSubTypeId { get { return mainsubtypeid; } set { mainsubtypeid = value; } } public string MainSubTypeCode { get { return mainsubtypecode; } set { mainsubtypecode = value; } } public string MainSubTypeName { get { return mainsubtypename; } set { mainsubtypename = value; } } public int MonthlyAttendanceId { get { return monthlyattendanceid; } //MonthlyAttendanceId set { monthlyattendanceid = value; } //MonthlyAttendanceId } private string partycode = ""; private string partyname = ""; private string partybranchcode = ""; private string partybranchname = ""; private string worktypecode = ""; private string worksubtypecode = ""; private int workexceltypeid; private string workexceltypecode = ""; private string workexceltypename = ""; private string ordernumber; private string orderdate; private decimal wagerate; public string PartyCode { get { return partycode; } //PartyCode set { partycode = value; } //PartyCode } public string PartyName { get { return partyname; } //PartyName set { partyname = value; } //PartyName } public string PartyBranchCode { get { return partybranchcode; } //PartyBranchCode set { partybranchcode = value; } //PartyBranchCode } public string PartyBranchName { get { return partybranchname; } //PartyBranchName set { partybranchname = value; } //PartyBranchName } public string WorkTypeCode { get { return worktypecode; } //WorkTypeCode set { worktypecode = value; } //WorkTypeCode } public string WorkSubTypeCode { get { return worksubtypecode; } //WorkSubTypeCode set { worksubtypecode = value; } //WorkSubTypeCode } public int WorkExcelTypeId { get { return workexceltypeid; } //WorkExcelTypeId set { workexceltypeid = value; } //WorkExcelTypeId } public string WorkExcelTypeCode { get { return workexceltypecode; } //worksubtypecode set { workexceltypecode = value; } //worksubtypecode } public string WorkExcelTypeName { get { return workexceltypename; } //worksubtypecode set { workexceltypename = value; } //worksubtypecode } public string OrderNumber { get { return ordernumber; } //OrderNumber set { ordernumber = value; } //OrderNumber } public string OrderDate { get { return orderdate; } //OrderDate set { orderdate = value; } //OrderDate } public decimal WageRate { get { return wagerate; } //WageRate set { wagerate = value; } //WageRate } private string functionreportingtomailid; private string functionreportingtomobilenumber; private string adminreportingtomailid; private string adminreportingtomobilenumber; public string FunctionReportingToMailId { get { return functionreportingtomailid; } //FunctionReportingToMailId set { functionreportingtomailid = value; } //FunctionReportingToMailId } public string FunctionReportingToMobileNumber { get { return functionreportingtomobilenumber; } //FunctionReportingToMobileNumber set { functionreportingtomobilenumber = value; } //FunctionReportingToMobileNumber } public string AdminReportingToMailId { get { return adminreportingtomailid; } //AdminReportingToMailId set { adminreportingtomailid = value; } //AdminReportingToMailId } public string AdminReportingToMobileNumber { get { return adminreportingtomobilenumber; } //AdminReportingToMobileNumber set { adminreportingtomobilenumber = value; } //AdminReportingToMobileNumber } #endregion } }