using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.CostCenter { public class CostCenterDTO { #region PrivateMembers #region CostCenter private int costcenterid; private string costcentercode; private string costcentername; private string costcentershortname; private int costcentertypeid; private string costcentertypecode; private string costcentertypename; #endregion #region Base private int costcentercreatedbyid; //Created By Person (User Id) private DateTime costcentercreatedon; //Created On Date private string costcentercreatedbyname; //Created By Name private int costcentermodifiedbyid; //Modified By Person (User Id) private DateTime costcentermodifiedon; //Modified On Date private string costcentermodifiedbyname; //Modified By Name #endregion #region Standard private Int16 costcentersortorder; private byte costcenterstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 costcenterversion; //No Of Times Updated private Int16 sourcetype; #endregion #region Parent private int parentid; private string parentcode; private string parentname; private string costcenterparentids = ""; private byte costcenterlevels; #endregion private string costcenterapplicableouids = ""; private string costcenterapplicabledepartmentids = ""; private string costcenterapplicableounames = ""; private string costcenterapplicabledepartmentnames = ""; private string costcenterapplicablebizdimensionvaluev1ids = ""; private string costcenterapplicablebizdimensionvaluev1names = ""; #endregion #region PublicMembers #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; } } public string CostCenterShortName { get { return costcentershortname; } set { costcentershortname = value; } } public int CostCenterTypeId { get { return costcentertypeid; } set { costcentertypeid = value; } } public string CostCenterTypeCode { get { return costcentertypecode; } set { costcentertypecode = value; } } public string CostCenterTypeName { get { return costcentertypename; } set { costcentertypename = value; } } #endregion #region Base public int CostCenterCreatedById { get { return costcentercreatedbyid; } //Created By Person (User Id) set { costcentercreatedbyid = value; } //Created By Person (User Id) } public DateTime CostCenterCreatedOn { get { return costcentercreatedon; } //Created On Date set { costcentercreatedon = value; } //Created On Date } public string CostCenterCreatedByName { get { return costcentercreatedbyname; } //Created By Name set { costcentercreatedbyname = value; } //Created By Name } public int CostCenterModifiedById { get { return costcentermodifiedbyid; } //Modified By Person (User Id) set { costcentermodifiedbyid = value; } } public DateTime CostCenterModifiedOn { get { return costcentermodifiedon; } //Modified On Date set { costcentermodifiedon = value; } } public string CostCenterModifiedByName { get { return costcentermodifiedbyname; } //Modified By Name set { costcentermodifiedbyname = value; } //Modified By Name } #endregion #region Standard public Int16 CostCenterSortOrder { get { return costcentersortorder; } set { costcentersortorder = value; } } public byte CostCenterStatus { get { return costcenterstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { costcenterstatus = value; } } public Int16 CostCenterVersion { get { return costcenterversion; } //No Of Times Updated set { costcenterversion = value; } } public Int16 CostCenterSourceType { get { return sourcetype; } set { sourcetype = value; } } #endregion #region Parent public int ParentId { get { return parentid; } set { parentid = value; } } public string ParentCode { get { return parentcode; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { parentcode = value; } } public string ParentName { get { return parentname; } set { parentname = value; } } public string CostCenterParentIds { get { return costcenterparentids; } //ParentIds set { costcenterparentids = value; } //ParentIds } public byte CostCenterLevels { get { return costcenterlevels; } //Levels set { costcenterlevels = value; } //Levels } #endregion public string CostCenterApplicableOUIds { get { return costcenterapplicableouids; } set { costcenterapplicableouids = value; } } public string CostCenterApplicableOUNames { get { return costcenterapplicableounames; } set { costcenterapplicableounames = value; } } public string CostCenterApplicableDepartmentIds { get { return costcenterapplicabledepartmentids; } set { costcenterapplicabledepartmentids = value; } } public string CostCenterApplicableDepartmentNames { get { return costcenterapplicabledepartmentnames; } set { costcenterapplicabledepartmentnames = value; } } public string CostCenterApplicableBizDimensionValueV1Ids { get { return costcenterapplicablebizdimensionvaluev1ids; } set { costcenterapplicablebizdimensionvaluev1ids = value; } } public string CostCenterApplicableBizDimensionValueV1Names { get { return costcenterapplicablebizdimensionvaluev1names; } set { costcenterapplicablebizdimensionvaluev1names = value; } } //private int tenantid; //public int TenantId //{ // get { return tenantid; } // set { tenantid = value; } //} #endregion } }