using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.CostCenterType { public class CostCenterTypeDTO { #region PrivateMembers #region CostCenter private int costcentertypeid; private string costcentertypecode; private string costcentertypename; private byte costcentertypetype; //Separate List, Vehicle, Employee, Branch, Party , Dynamic-Doc private byte costcentertypeishierachicalapplicable; //Tree type of CC applicable Y/N? #region OU private int organizationunitid; private string organizationunitcode; private string organizationunitname; #endregion private byte costcentertypeiscoderequired; //Yes,No #endregion #region Base private int costcentertypecreatedbyid; //Created By Person (User Id) private DateTime costcentertypecreatedon; //Created On Date private int costcentertypemodifiedbyid; //Modified By Person (User Id) private DateTime costcentertypemodifiedon; //Modified On Date #endregion #region Standard private Int16 costcentertypesortorder; private byte costcentertypestatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 costcentertypeversion; //No Of Times Updated #endregion #endregion #region PublicMembers #region CostCenter 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; } } public byte CostCenterTypeType { get { return costcentertypetype; } //Separate List, Vehicle, Employee, Branch, Party , Dynamic-Doc set { costcentertypetype = value; } //Separate List, Vehicle, Employee, Branch, Party , Dynamic-Doc } public byte CostCenterTypeIsHierachicalApplicable { get { return costcentertypeishierachicalapplicable; } //Tree type of CC applicable Y/N? set { costcentertypeishierachicalapplicable = value; } //Tree type of CC applicable Y/N? } #region OU public int OrganizationUnitId { get { return organizationunitid; } set { organizationunitid = value; } } public string OrganizationUnitCode { get { return organizationunitcode; } set { organizationunitcode = value; } } public string OrganizationUnitName { get { return organizationunitname; } set { organizationunitname = value; } } #endregion public byte CostCenterTypeIsCodeRequired { get { return costcentertypeiscoderequired; } //Yes,No set { costcentertypeiscoderequired = value; } //Yes,No } #endregion #region Base public int CostCenterTypeCreatedById { get { return costcentertypecreatedbyid; } //Created By Person (User Id) set { costcentertypecreatedbyid = value; } //Created By Person (User Id) } public DateTime CostCenterTypeCreatedOn { get { return costcentertypecreatedon; } //Created On Date set { costcentertypecreatedon = value; } //Created On Date } public int CostCenterTypeModifiedById { get { return costcentertypemodifiedbyid; } //Modified By Person (User Id) set { costcentertypemodifiedbyid = value; } } public DateTime CostCenterTypeModifiedOn { get { return costcentertypemodifiedon; } //Modified On Date set { costcentertypemodifiedon = value; } } #endregion #region Standard public Int16 CostCenterTypeSortOrder { get { return costcentertypesortorder; } set { costcentertypesortorder = value; } } public byte CostCenterTypeStatus { get { return costcentertypestatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { costcentertypestatus = value; } } public Int16 CostCenterTypeVersion { get { return costcentertypeversion; } //No Of Times Updated set { costcentertypeversion = value; } } private int costcentertypesourcetype; public int CostCenterTypeSourceType { get { return costcentertypesourcetype; } set { costcentertypesourcetype = value; } } private int costcentertypetenantid; public int CostCenterTypeTenantId { get { return costcentertypetenantid; } set { costcentertypetenantid = value; } } #endregion #endregion } }