using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Voucher { public class VoucherCostCenterDTO { #region PrivateMembers #region VoucherCostCenter private int vouchercostcenterid; //Id #region VoucherDetail private int voucherlineid; #endregion private Int16 vouchercostcentercostcategoryslno; //Slno #region CostCategory private int costcategoryid; private string costcategorycode; private string costcategoryname; #endregion private Int16 vouchercostcenterslno; //Slno #region CostCenter private int costcenterid; private string costcentercode; private string costcentername; #endregion private double vouchercostcenterallocatedamount; //AllocatedAmount #endregion #endregion #region PublicMembers #region VoucherCostCenter public int VoucherCostCenterId { get { return vouchercostcenterid; } //Id set { vouchercostcenterid = value; } //Id } #region VoucherDetail public int VoucherLineId { get { return voucherlineid; } set { voucherlineid = value; } } #endregion public Int16 VoucherCostCenterCostCategorySlno { get { return vouchercostcentercostcategoryslno; } //Slno set { vouchercostcentercostcategoryslno = value; } //Slno } #region CostCategory public int CostCategoryId { get { return costcategoryid; } set { costcategoryid = value; } } public string CostCategoryCode { get { return costcategorycode; } set { costcategorycode = value; } } public string CostCategoryName { get { return costcategoryname; } set { costcategoryname = value; } } #endregion public Int16 VoucherCostCenterSlno { get { return vouchercostcenterslno; } //Slno set { vouchercostcenterslno = value; } //Slno } #region CostCenter public int CostCenterId { get { return costcenterid; } set { costcenterid = value; } } public string CostCenterCode { get { return costcentercode; } set { costcentercode = value; } } public string CostCenterName { get { return costcentername; } set { costcentername = value; } } #endregion public double VoucherCostCenterAllocatedAmount { get { return vouchercostcenterallocatedamount; } //AllocatedAmount set { vouchercostcenterallocatedamount = value; } //AllocatedAmount } #region Payroll Posting private string payconfigurationheadname; private byte detailtype; private int accountid; public string PayConfigurationHeadName { get { return payconfigurationheadname; } //payconfigurationheadname set { payconfigurationheadname = value; } //payconfigurationheadname } public byte DetailType { get { return detailtype; } //DetailType set { detailtype = value; } //DetailType } public int AccountId { get { return accountid; } //DetailType set { accountid = value; } //DetailType } private int iscostcenterrequired = 1; public int IsCostCenterRequired { get { return iscostcenterrequired; } //IsCostCenterRequired set { iscostcenterrequired = value; } //IsCostCenterRequired } #endregion #endregion #endregion } }