using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdminDAL.DTO.Allocation { public record AllocationTypeDTO { #region PrivateMembers #region AllocationType private int allocationtypeid; private string allocationtypecode; private string allocationtypename; private byte allocationtypeispostcostcenter; #region CostCategory private int costcategoryid; private string costcategorycode; private string costcategoryname; #endregion private byte allocationtypeismultilevel; private byte allocationtypeisdatebased; private byte allocationtypeiscapital; #region Entity private int entityid; private string entitycode; private string entityname; #endregion #region Base private int allocationtypecreatedbyid; //Created By Person (User Id) private DateTime allocationtypecreatedon; //Created On Date private string allocationtypecreatedbyname; //Created By Name private int allocationtypemodifiedbyid; //Modified By Person (User Id) private DateTime allocationtypemodifiedon; //Modified On Date private string allocationtypemodifiedbyname; //Modified By Name #endregion #region Standard private Int16 allocationtypesortorder; private byte allocationtypestatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 allocationtypeversion; //No Of Times Updated #endregion #endregion #endregion private string allocationtypeispostcostcentername; private string allocationtypeismultilevelname; private string allocationtypeisdatebasedname; private string allocationtypeiscapitalname; #region PublicMembers #region AllocationType public int AllocationTypeId { get { return allocationtypeid; } set { allocationtypeid = value; } } public string AllocationTypeCode { get { return allocationtypecode; } set { allocationtypecode = value; } } public string AllocationTypeName { get { return allocationtypename; } set { allocationtypename = value; } } public byte AllocationTypeIsPostCostCenter { get { return allocationtypeispostcostcenter; } set { allocationtypeispostcostcenter = value; } } 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 byte AllocationTypeIsMultiLevel { get { return allocationtypeismultilevel; } set { allocationtypeismultilevel = value; } } public byte AllocationTypeIsDateBased { get { return allocationtypeisdatebased; } set { allocationtypeisdatebased = value; } } public byte AllocationTypeIsCapital { get { return allocationtypeiscapital; } set { allocationtypeiscapital = value; } } public int EntityId { get { return entityid; } set { entityid = value; } } public string EntityCode { get { return entitycode; } set { entitycode = value; } } public string EntityName { get { return entityname; } set { entityname = value; } } public string AllocationTypeIsPostCostCenterName { get { return allocationtypeispostcostcentername; } set { allocationtypeispostcostcentername = value; } } public string AllocationTypeIsMultiLevelName { get { return allocationtypeismultilevelname; } set { allocationtypeismultilevelname = value; } } public string AllocationTypeIsDateBasedName { get { return allocationtypeisdatebasedname; } set { allocationtypeisdatebasedname = value; } } public string AllocationTypeIsCapitalName { get { return allocationtypeiscapitalname; } set { allocationtypeiscapitalname = value; } } #region Base public int AllocationTypeCreatedById { get { return allocationtypecreatedbyid; } //Created By Person (User Id) set { allocationtypecreatedbyid = value; } //Created By Person (User Id) } public DateTime AllocationTypeCreatedOn { get { return allocationtypecreatedon; } //Created On Date set { allocationtypecreatedon = value; } //Created On Date } public string AllocationTypeCreatedByName { get { return allocationtypecreatedbyname; } //Created By Name set { allocationtypecreatedbyname = value; } //Created By Name } public int AllocationTypeModifiedById { get { return allocationtypemodifiedbyid; } //Modified By Person (User Id) set { allocationtypemodifiedbyid = value; } } public DateTime AllocationTypeModifiedOn { get { return allocationtypemodifiedon; } //Modified On Date set { allocationtypemodifiedon = value; } } public string AllocationTypeModifiedByName { get { return allocationtypemodifiedbyname; } //Modified By Name set { allocationtypemodifiedbyname = value; } //Modified By Name } #endregion #region Standard public Int16 AllocationTypeSortOrder { get { return allocationtypesortorder; } set { allocationtypesortorder = value; } } public byte AllocationTypeStatus { get { return allocationtypestatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { allocationtypestatus = value; } } public Int16 AllocationTypeVersion { get { return allocationtypeversion; } //No Of Times Updated set { allocationtypeversion = value; } } private int ispostcostcenter; public int IsPostCostCenter { get { return ispostcostcenter; } set { ispostcostcenter = value; } } private int sourcetype; public int SourceType { get { return sourcetype; } set { sourcetype = value; } } private int tenantid; public int TenantId { get { return tenantid; } set { tenantid = value; } } #endregion #endregion #endregion } }