using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.CostCenterAllocation { public class CostCenterAllocationDTO { #region PrivateMembers #region CostCenterAllocation private int costcenterallocationid; //Id #region Entity private int objectheadertypeid; //Id private string objectheadertypecode; //Code private string objectheadertypename; //Name #endregion private int costcenterallocationobjectheaderid; //ObjectHeaderId #region Entity private int objecttypeid; //Id private string objecttypecode; //Code private string objecttypename; //Name #endregion private int costcenterallocationobjectid; //ObjectId private byte costcenterallocationcostcategoryslno; //CostCategorySlno #region CostCategory private int costcategoryid; //Id private string costcategorycode; //Code private string costcategoryname; //Name #endregion private Int16 costcenterallocationslno; //Slno #region CostCenter private int costcenterid; //Id private string costcentercode; //Code private string costcentername; //Name #endregion private double costcenterallocationallocatedquantity; //AllocatedAmount #endregion #endregion #region PublicMembers #region CostCenterAllocation public int CostCenterAllocationId { get { return costcenterallocationid; } //Id set { costcenterallocationid = value; } //Id } #region Entity public int ObjectHeaderTypeId { get { return objectheadertypeid; } //Id set { objectheadertypeid = value; } //Id } public string ObjectHeaderTypeCode { get { return objectheadertypecode; } //Code set { objectheadertypecode = value; } //Code } public string ObjectHeaderTypeName { get { return objectheadertypename; } //Name set { objectheadertypename = value; } //Name } #endregion public int CostCenterAllocationObjectHeaderId { get { return costcenterallocationobjectheaderid; } //ObjectHeaderId set { costcenterallocationobjectheaderid = value; } //ObjectHeaderId } #region Entity public int ObjectTypeId { get { return objecttypeid; } //Id set { objecttypeid = value; } //Id } public string ObjectTypeCode { get { return objecttypecode; } //Code set { objecttypecode = value; } //Code } public string ObjectTypeName { get { return objecttypename; } //Name set { objecttypename = value; } //Name } #endregion public int CostCenterAllocationObjectId { get { return costcenterallocationobjectid; } //ObjectId set { costcenterallocationobjectid = value; } //ObjectId } public byte CostCenterAllocationCostCategorySlno { get { return costcenterallocationcostcategoryslno; } //CostCategorySlno set { costcenterallocationcostcategoryslno = value; } //CostCategorySlno } #region CostCategory public int CostCategoryId { get { return costcategoryid; } //Id set { costcategoryid = value; } //Id } public string CostCategoryCode { get { return costcategorycode; } //Code set { costcategorycode = value; } //Code } public string CostCategoryName { get { return costcategoryname; } //Name set { costcategoryname = value; } //Name } #endregion public Int16 CostCenterAllocationSlno { get { return costcenterallocationslno; } //Slno set { costcenterallocationslno = value; } //Slno } #region CostCenter public int CostCenterId { get { return costcenterid; } //Id set { costcenterid = value; } //Id } public string CostCenterCode { get { return costcentercode; } //Code set { costcentercode = value; } //Code } public string CostCenterName { get { return costcentername; } //Name set { costcentername = value; } //Name } #endregion public double CostCenterAllocationAllocatedQuantity { get { return costcenterallocationallocatedquantity; } //AllocatedAmount set { costcenterallocationallocatedquantity = value; } //AllocatedAmount } #endregion #endregion } }