using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AccountsDAL.DTO.CostCategoryCondition; namespace AccountsDAL.DTO.CostCategory { public class CostCategoryDTO { #region PrivateMembers #region CostCategory private int costcategoryid; private string costcategorycode; private string costcategoryname; private string costcategoryshortname; #endregion #region CostCenterType private int costcategorycostcentertypeid; private string costcategorycostcentertypecode; private string costcategorycostcentertypename; #endregion private List costcategoryconditionarray = new List(); #region Base private int costcategorycreatedbyid; //Created By Person (User Id) private DateTime costcategorycreatedon; //Created On Date private string costcategorycreatedbyname; //Created By Person private int costcategorymodifiedbyid; //Modified By Person (User Id) private DateTime costcategorymodifiedon; //Modified On Date private string costcategorymodifiedbyname; //Modified By Person #endregion #region Standard private Int16 costcategorysortorder; private byte costcategorystatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 costcategoryversion; //No Of Times Updated #endregion #endregion #region PublicMembers #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; } } public string CostCategoryShortName { get { return costcategoryshortname; } set { costcategoryshortname = value; } } #endregion #region CostCenterType public int CostCategoryCostCenterTypeId { get { return costcategorycostcentertypeid; } set { costcategorycostcentertypeid = value; } } public string CostCategoryCostCenterTypeCode { get { return costcategorycostcentertypecode; } set { costcategorycostcentertypecode = value; } } public string CostCategoryCostCenterTypeName { get { return costcategorycostcentertypename; } set { costcategorycostcentertypename = value; } } #endregion #region Base public int CostCategoryCreatedById { get { return costcategorycreatedbyid; } //Created By Person (User Id) set { costcategorycreatedbyid = value; } //Created By Person (User Id) } public DateTime CostCategoryCreatedOn { get { return costcategorycreatedon; } //Created On Date set { costcategorycreatedon = value; } //Created On Date } public string CostCategoryCreatedByName { get { return costcategorycreatedbyname; } //Created By person set { costcategorycreatedbyname = value; } //Created By person } public int CostCategoryModifiedById { get { return costcategorymodifiedbyid; } //Modified By Person (User Id) set { costcategorymodifiedbyid = value; } } public DateTime CostCategoryModifiedOn { get { return costcategorymodifiedon; } //Modified On Date set { costcategorymodifiedon = value; } } public string CostCategoryModifiedByName { get { return costcategorymodifiedbyname; } //Modified By person set { costcategorymodifiedbyname = value; } //Modified By person } #endregion #region Standard public Int16 CostCategorySortOrder { get { return costcategorysortorder; } set { costcategorysortorder = value; } } public byte CostCategoryStatus { get { return costcategorystatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { costcategorystatus = value; } } public Int16 CostCategoryVersion { get { return costcategoryversion; } //No Of Times Updated set { costcategoryversion = value; } } public List CostCategoryConditionArray { get { return costcategoryconditionarray; } set { costcategoryconditionarray = value; } } #endregion #endregion } }