using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AdminDAL.DTO.Contact; namespace AdminDAL.DTO.Allocation { public class MAllocationDTO { #region PrivateMembers #region Allocation private int mallocationid; //Id private string mallocationname; //Name private string mallocationdescription; //Description private string mallocationshortname; //ShortName private byte mallocationiscapital; //IsCapital private DateTime mallocationfromdate = DateTime.Now; //FromDate private DateTime mallocationtodate = DateTime.Now; //ToDate private int parentallocationid; //ParentAllocation private string parentallocationcode; private string parentallocationname; private int mallocationpartyid; private string mallocationpartyname; private int allocationtypeid; private string allocationtypecode; private string allocationtypename; private int mallocationcostcenterid; private int mallocationobjectid; private int objecttypeid; //ParentAllocation private string objecttypecode; private string objecttypename; private int inchargeid; //ParentAllocation private string inchargecode; private string inchargename; private string inchargeprimarymail; private int organizationunitid; //ParentAllocation private string organizationunitcode; private string organizationunitname; private int currencyid = -1; private string currencycode; private string currencyname; private double mallocationrate = 0.0; private int mallocationnumberofdata = 0; private int mallocationexpectedperhour = 0; private int mallocationdateapplicable; private byte mallocationrateperuom = 2; private int portfolioid = -1; private string portfoliocode; private string portfolioname; private byte mallocationpmstatus = 1; private byte mallocationworkleveltype = 3; private double mallocationprojectvalue = 0; private double mallocationprojectgcvalue = 0; private double mallocationprojectbudget = 0; private double mallocationprojectgcbudget = 0; private int billtypeid = -1; private string billtypecode; private string billtypename; private int billmethodid = -1; private string billmethodcode; private string billmethodname; private List contactarray = new List(); private string mallocationremarks = ""; #endregion #region Base private int mallocationcreatedbyid; //CreatedById private DateTime mallocationcreatedon; //CreatedOn private string mallocationcreatedbyname; //CreatedByName private int mallocationmodifiedbyid; //ModifiedById private DateTime mallocationmodifiedon; //ModifiedOn private string mallocationmodifiedbyname; //ModifiedByName #endregion #region Standard private Int16 mallocationsortorder; //SortOrder private byte mallocationstatus; //Status private Int16 mallocationversion; //Version #endregion #endregion #region PublicMembers #region Allocation public int MAllocationId { get { return mallocationid; } //Id set { mallocationid = value; } //Set Restricted } public string MAllocationName { get { return mallocationname; } //Name set { mallocationname = value; } //Name } public string MAllocationDescription { get { return mallocationdescription; } //Description set { mallocationdescription = value; } //Description } public string MAllocationShortName { get { return mallocationshortname; } //ShortName set { mallocationshortname = value; } //ShortName } public byte MAllocationIsCapital { get { return mallocationiscapital; } //IsCapital set { mallocationiscapital = value; } //IsCapital } public DateTime MAllocationFromDate { get { return mallocationfromdate; } //FromDate set { mallocationfromdate = value; } //Set Restricted } public DateTime MAllocationToDate { get { return mallocationtodate; } //ToDate set { mallocationtodate = value; } } public int MAllocationObjectId { get { return mallocationobjectid; } set { mallocationobjectid = value; } } public int ParentAllocationId { get { return parentallocationid; } //ParentAllocation set { parentallocationid = value; } //ParentAllocation } public string ParentAllocationCode { get { return parentallocationcode; } //ParentAllocation set { parentallocationcode = value; } //ParentAllocation } public string ParentAllocationName { get { return parentallocationname; } //ParentAllocation set { parentallocationname = value; } //ParentAllocation } public int MAllocationCostCenterId { get { return mallocationcostcenterid; } set { mallocationcostcenterid = value; } } public int MAllocationPartyId { get { return mallocationpartyid; } set { mallocationpartyid = value; } } public string MAllocationPartyName { get { return mallocationpartyname; } set { mallocationpartyname = value; } } public int MAllocationDateApplicable { get { return mallocationdateapplicable; } set { mallocationdateapplicable = value; } } public int ObjectTypeId { get { return objecttypeid; } set { objecttypeid = value; } } public string ObjectTypeCode { get { return objecttypecode; } set { objecttypecode = value; } } public string ObjectTypeName { get { return objecttypename; } set { objecttypename = value; } } public int InchargeId { get { return inchargeid; } set { inchargeid = value; } } public string InchargeCode { get { return inchargecode; } set { inchargecode = value; } } public string InchargeName { get { return inchargename; } set { inchargename = value; } } public string InchargePrimaryMail { get { return inchargeprimarymail; } set { inchargeprimarymail = value; } } 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; } } 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 int CurrencyId { get { return currencyid; } set { currencyid = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string CurrencyName { get { return currencyname; } set { currencyname = value; } } public double MAllocationRate { get { return mallocationrate; } set { mallocationrate = value; } } public int MAllocationNumberOfData { get { return mallocationnumberofdata; } set { mallocationnumberofdata = value; } } public int MAllocationExpectedPerHour { get { return mallocationexpectedperhour; } set { mallocationexpectedperhour = value; } } public byte MAllocationRateperUOM { get { return mallocationrateperuom; } set { mallocationrateperuom = value; } } #endregion #region Base public int MAllocationCreatedById { get { return mallocationcreatedbyid; } //CreatedById set { mallocationcreatedbyid = value; } //CreatedById } public DateTime MAllocationCreatedOn { get { return mallocationcreatedon; } //CreatedOn set { mallocationcreatedon = value; } //CreatedOn } public string MAllocationCreatedByName { get { return mallocationcreatedbyname; } //CreatedByName set { mallocationcreatedbyname = value; } //CreatedByName } public int MAllocationModifiedById { get { return mallocationmodifiedbyid; } //ModifiedById set { mallocationmodifiedbyid = value; } //ModifiedById } public DateTime MAllocationModifiedOn { get { return mallocationmodifiedon; } //ModifiedOn set { mallocationmodifiedon = value; } //ModifiedOn } public string MAllocationModifiedByName { get { return mallocationmodifiedbyname; } //ModifiedByName set { mallocationmodifiedbyname = value; } //ModifiedByName } #endregion #region Standard public Int16 MAllocationSortOrder { get { return mallocationsortorder; } //SortOrder set { mallocationsortorder = value; } //SortOrder } public byte MAllocationStatus { get { return mallocationstatus; } //Status set { mallocationstatus = value; } //Status } public Int16 MAllocationVersion { get { return mallocationversion; } //Version set { mallocationversion = value; } //Version } #endregion private int partybranchid = -1; private string partybranchcode; private string partybranchname; private int referencepartybranchid = -1; private string referencepartybranchcode; private string referencepartybranchname; private string referencepartyname; private int brokerpartybranchid = -1; private string brokerpartybranchcode; private string brokerpartybranchname; private string brokerpartyname; private int inchargeemployeeid = -1; private string inchargeemployeecode; private string inchargeemployeename; private int l1id = -1; private string l1code; private string l1name; private int l2id = -1; private string l2code; private string l2name; private int l3id = -1; private string l3code; private string l3name; private int l4id = -1; private string l4code; private string l4name; private int l5id = -1; private string l5code; private string l5name; public int PartyBranchId { get { return partybranchid; } //PartyBranchId set { partybranchid = value; } //PartyBranchId } public string PartyBranchCode { get { return partybranchcode; } //PartyBranchCode set { partybranchcode = value; } //PartyBranchCode } public string PartyBranchName { get { return partybranchname; } //PartyBranchName set { partybranchname = value; } //PartyBranchName } public int ReferencePartyBranchId { get { return referencepartybranchid; } //ReferencePartyBranchId set { referencepartybranchid = value; } //ReferencePartyBranchId } public string ReferencePartyBranchCode { get { return referencepartybranchcode; } //ReferencePartyBranchCode set { referencepartybranchcode = value; } //ReferencePartyBranchCode } public string ReferencePartyBranchName { get { return referencepartybranchname; } //ReferencePartyBranchName set { referencepartybranchname = value; } //ReferencePartyBranchName } public string ReferencePartyName { get { return referencepartyname; } //ReferencePartyName set { referencepartyname = value; } //ReferencePartyName } public int BrokerPartyBranchId { get { return brokerpartybranchid; } //BrokerPartyBranchId set { brokerpartybranchid = value; } //BrokerPartyBranchId } public string BrokerPartyBranchCode { get { return brokerpartybranchcode; } //BrokerPartyBranchCode set { brokerpartybranchcode = value; } //BrokerPartyBranchCode } public string BrokerPartyBranchName { get { return brokerpartybranchname; } //BrokerPartyBranchName set { brokerpartybranchname = value; } //BrokerPartyBranchName } public string BrokerPartyName { get { return brokerpartyname; } //brokerpartybranchname set { brokerpartyname = value; } //brokerpartybranchname } public int InchargeEmployeeId { get { return inchargeemployeeid; } set { inchargeemployeeid = value; } } public string InchargeEmployeeCode { get { return inchargeemployeecode; } set { inchargeemployeecode = value; } } public string InchargeEmployeeName { get { return inchargeemployeename; } set { inchargeemployeename = value; } } public virtual int L1Id { get { return l1id; } set { l1id = value; } } public virtual string L1Code { get { return l1code; } set { l1code = value; } } public virtual string L1Name { get { return l1name; } set { l1name = value; } } public virtual int L2Id { get { return l2id; } set { l2id = value; } } public virtual string L2Code { get { return l2code; } set { l2code = value; } } public virtual string L2Name { get { return l2name; } set { l2name = value; } } public virtual int L3Id { get { return l3id; } set { l3id = value; } } public virtual string L3Code { get { return l3code; } set { l3code = value; } } public virtual string L3Name { get { return l3name; } set { l3name = value; } } public virtual int L4Id { get { return l4id; } set { l4id = value; } } public virtual string L4Code { get { return l4code; } set { l4code = value; } } public virtual string L4Name { get { return l4name; } set { l4name = value; } } public virtual int L5Id { get { return l5id; } set { l5id = value; } } public virtual string L5Code { get { return l5code; } set { l5code = value; } } public virtual string L5Name { get { return l5name; } set { l5name = value; } } public int PortFolioId { get { return portfolioid; } set { portfolioid = value; } } public string PortFolioCode { get { return portfoliocode; } set { portfoliocode = value; } } public string PortFolioName { get { return portfolioname; } set { portfolioname = value; } } public byte MAllocationPMStatus { get { return mallocationpmstatus; } set { mallocationpmstatus = value; } } public byte MAllocationWorkLevelType { get { return mallocationworkleveltype; } set { mallocationworkleveltype = value; } } public double MAllocationProjectValue { get { return mallocationprojectvalue; } set { mallocationprojectvalue = value; } } public double MAllocationProjectGCValue { get { return mallocationprojectgcvalue; } set { mallocationprojectgcvalue = value; } } public double MAllocationProjectBudget { get { return mallocationprojectbudget; } set { mallocationprojectbudget = value; } } public double MAllocationProjectGCBudget { get { return mallocationprojectgcbudget; } set { mallocationprojectgcbudget = value; } } public int BillTypeId { get { return billtypeid; } set { billtypeid = value; } } public string BillTypeCode { get { return billtypecode; } set { billtypecode = value; } } public string BillTypeName { get { return billtypename; } set { billtypename = value; } } public int BillMethodId { get { return billmethodid; } set { billmethodid = value; } } public string BillMethodCode { get { return billmethodcode; } set { billmethodcode = value; } } public string BillMethodName { get { return billmethodname; } set { billmethodname = value; } } public string MAllocationRemarks { get { return mallocationremarks; } set { mallocationremarks = 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; } } public List ContactArray { get { return contactarray; } set { contactarray = value; } } #endregion } }