public List <LearnerPeriodisedValue> LearnerPeriodisedValues(IDataEntity learner) { List <string> attributeList = new List <string>() { Attributes.ALBSeqNum, }; List <LearnerPeriodisedValue> learnerPeriodisedAttributesList = new List <LearnerPeriodisedValue>(); foreach (var attribute in attributeList) { var attributeValue = learner.Attributes[attribute]; var changePoints = attributeValue.Changepoints; if (!changePoints.Any()) { var value = _dataEntityAttributeService.GetDecimalAttributeValue(attributeValue.Value); learnerPeriodisedAttributesList.Add(new LearnerPeriodisedValue { AttributeName = attribute, Period1 = value, Period2 = value, Period3 = value, Period4 = value, Period5 = value, Period6 = value, Period7 = value, Period8 = value, Period9 = value, Period10 = value, Period11 = value, Period12 = value, }); } if (changePoints.Any()) { learnerPeriodisedAttributesList.Add(new LearnerPeriodisedValue { AttributeName = attribute, Period1 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period1), Period2 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period2), Period3 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period3), Period4 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period4), Period5 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period5), Period6 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period6), Period7 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period7), Period8 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period8), Period9 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period9), Period10 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period10), Period11 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period11), Period12 = _dataEntityAttributeService.GetDecimalAttributeValueForPeriod(attributeValue, _periods.Period12), }); } } return(learnerPeriodisedAttributesList); }
public LearningDeliveryValue LearningDeliveryValue(IDataEntity dataEntity) { return(new LearningDeliveryValue { Achieved = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Achieved), AddProgCostElig = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AddProgCostElig), AdjustedAreaCostFactor = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AdjustedAreaCostFactor), AdjustedPremiumFactor = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AdjustedPremiumFactor), AdjustedStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AdjustedStartDate), AimClassification = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.AimClassification), AimValue = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AimValue), ApplicWeightFundRate = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ApplicWeightFundRate), EligibleProgressionOutcomeCode = _dataEntityAttributeService.GetLongAttributeValue(dataEntity, Attributes.EligibleProgressionOutcomeCode), EligibleProgressionOutcomeType = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.EligibleProgressionOutcomeType), EligibleProgressionOutomeStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.EligibleProgressionOutomeStartDate), FundStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.FundStart), LARSWeightedRate = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LARSWeightedRate), LatestPossibleStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LatestPossibleStartDate), LDESFEngagementStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LDESFEngagementStartDate), LearnDelLearnerEmpAtStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnDelLearnerEmpAtStart), PotentiallyEligibleForProgression = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.PotentiallyEligibleForProgression), ProgressionEndDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ProgressionEndDate), Restart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Restart), WeightedRateFromESOL = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.WeightedRateFromESOL), }); }
public FM25Learner MapLearner(IDataEntity dataEntity) { return(new FM25Learner() { AcadMonthPayment = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.AcadMonthPayment), AcadProg = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AcadProg), ActualDaysILCurrYear = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualDaysILCurrYear), AreaCostFact1618Hist = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AreaCostFact1618Hist), Block1DisadvUpliftNew = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Block1DisadvUpliftNew), Block2DisadvElementsNew = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Block2DisadvElementsNew), ConditionOfFundingEnglish = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.ConditionOfFundingEnglish), ConditionOfFundingMaths = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.ConditionOfFundingMaths), CoreAimSeqNumber = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.CoreAimSeqNumber), FullTimeEquiv = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.FullTimeEquiv), FundLine = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.FundLine), LearnerActEndDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnerActEndDate), LearnerPlanEndDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnerPlanEndDate), LearnerStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnerStartDate), LearnRefNumber = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.LearnRefNumber), NatRate = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.NatRate), OnProgPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.OnProgPayment), PlannedDaysILCurrYear = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedDaysILCurrYear), ProgWeightHist = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ProgWeightHist), ProgWeightNew = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ProgWeightNew), PrvDisadvPropnHist = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.PrvDisadvPropnHist), PrvHistLrgProgPropn = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.PrvHistLrgProgPropn), PrvRetentFactHist = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.PrvRetentFactHist), RateBand = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.RateBand), RetentNew = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.RetentNew), StartFund = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.StartFund), ThresholdDays = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ThresholdDays) }); }
public LearningDeliveryValue LearningDeliveryValue(IDataEntity dataEntity) { return(new LearningDeliveryValue { AchApplicDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AchApplicDate), Achieved = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Achieved), AchieveElement = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AchieveElement), AchievePayElig = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AchievePayElig), AchievePayPctPreTrans = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AchievePayPctPreTrans), AchPayTransHeldBack = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AchPayTransHeldBack), ActualDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualDaysIL), ActualNumInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualNumInstalm), ActualNumInstalmPreTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualNumInstalmPreTrans), ActualNumInstalmTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualNumInstalmTrans), AdjLearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AdjLearnStartDate), AdltLearnResp = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AdltLearnResp), AgeAimStart = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.AgeAimStart), AimValue = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AimValue), AppAdjLearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AppAdjLearnStartDate), AppAgeFact = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AppAgeFact), AppATAGTA = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AppATAGTA), AppCompetency = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AppCompetency), AppFuncSkill = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AppFuncSkill), AppFuncSkill1618AdjFact = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AppFuncSkill1618AdjFact), AppKnowl = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AppKnowl), AppLearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AppLearnStartDate), ApplicEmpFactDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ApplicEmpFactDate), ApplicFactDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ApplicFactDate), ApplicFundRateDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ApplicFundRateDate), ApplicProgWeightFact = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.ApplicProgWeightFact), ApplicUnweightFundRate = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ApplicUnweightFundRate), ApplicWeightFundRate = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ApplicWeightFundRate), AppNonFund = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AppNonFund), AreaCostFactAdj = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AreaCostFactAdj), BalInstalmPreTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.BalInstalmPreTrans), BaseValueUnweight = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.BaseValueUnweight), CapFactor = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.CapFactor), DisUpFactAdj = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.DisUpFactAdj), EmpOutcomePayElig = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.EmpOutcomePayElig), EmpOutcomePctHeldBackTrans = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.EmpOutcomePctHeldBackTrans), EmpOutcomePctPreTrans = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.EmpOutcomePctPreTrans), EmpRespOth = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.EmpRespOth), ESOL = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.ESOL), FullyFund = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.FullyFund), FundLine = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.FundLine), FundStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.FundStart), LargeEmployerFM35Fctr = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LargeEmployerFM35Fctr), LargeEmployerID = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LargeEmployerID), LargeEmployerStatusDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LargeEmployerStatusDate), LearnDelFundOrgCode = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.LearnDelFundOrgCode), LTRCUpliftFctr = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LTRCUpliftFctr), NonGovCont = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.NonGovCont), OLASSCustody = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.OLASSCustody), OnProgPayPctPreTrans = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.OnProgPayPctPreTrans), OutstndNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.OutstndNumOnProgInstalm), OutstndNumOnProgInstalmTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.OutstndNumOnProgInstalmTrans), PlannedNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedNumOnProgInstalm), PlannedNumOnProgInstalmTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedNumOnProgInstalmTrans), PlannedTotalDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedTotalDaysIL), PlannedTotalDaysILPreTrans = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedTotalDaysILPreTrans), PropFundRemain = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.PropFundRemain), PropFundRemainAch = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.PropFundRemainAch), PrscHEAim = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.PrscHEAim), ReservedUpliftFactor1 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ReservedUpliftFactor1), ReservedUpliftRate1 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.ReservedUpliftRate1), Residential = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Residential), Restart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Restart), SpecResUplift = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.SpecResUplift), StartPropTrans = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.StartPropTrans), ThresholdDays = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ThresholdDays), Traineeship = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Traineeship), Trans = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Trans), TrnAdjLearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.TrnAdjLearnStartDate), TrnWorkPlaceAim = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.TrnWorkPlaceAim), TrnWorkPrepAim = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.TrnWorkPrepAim), UnWeightedRateFromESOL = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.UnWeightedRateFromESOL), UnweightedRateFromLARS = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.UnweightedRateFromLARS), WeightedRateFromESOL = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.WeightedRateFromESOL), WeightedRateFromLARS = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.WeightedRateFromLARS), }); }
public LearningDeliveryValue LearningDeliveryAttributeData(IDataEntity dataEntity) { return(new LearningDeliveryValue { AchApplicDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AchApplicDate), AchEligible = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.AchEligible), Achieved = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Achieved), AchievementApplicVal = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AchievementApplicVal), AchPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.AchPayment), ActualDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualDaysIL), ActualNumInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualNumInstalm), AdjProgStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AdjProgStartDate), AdjStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AdjStartDate), AgeStandardStart = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.AgeStandardStart), ApplicFundValDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ApplicFundValDate), CombinedAdjProp = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.CombinedAdjProp), CoreGovContCapApplicVal = _dataEntityAttributeService.GetLongAttributeValue(dataEntity, Attributes.CoreGovContCapApplicVal), CoreGovContPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.CoreGovContPayment), CoreGovContUncapped = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.CoreGovContUncapped), EmpIdAchDate = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.EmpIdAchDate), EmpIdFirstDayStandard = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.EmpIdFirstDayStandard), EmpIdFirstYoungAppDate = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.EmpIdFirstYoungAppDate), EmpIdSecondYoungAppDate = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.EmpIdSecondYoungAppDate), EmpIdSmallBusDate = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.EmpIdSmallBusDate), FundLine = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.FundLine), InstPerPeriod = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.InstPerPeriod), LearnDelDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelDaysIL), LearnDelStandardAccDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelStandardAccDaysIL), LearnDelStandardPrevAccDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelStandardPrevAccDaysIL), LearnDelStandardTotalDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelStandardTotalDaysIL), LearnSuppFund = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnSuppFund), LearnSuppFundCash = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnSuppFundCash), MathEngAimValue = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.MathEngAimValue), MathEngBalPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.MathEngBalPayment), MathEngBalPct = _dataEntityAttributeService.GetLongAttributeValue(dataEntity, Attributes.MathEngBalPct), MathEngLSFFundStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.MathEngLSFFundStart), MathEngLSFThresholdDays = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.MathEngLSFThresholdDays), MathEngOnProgPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.MathEngOnProgPayment), MathEngOnProgPct = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.MathEngOnProgPct), OutstandNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.OutstandNumOnProgInstalm), PlannedNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedNumOnProgInstalm), PlannedTotalDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedTotalDaysIL), ProgStandardStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ProgStandardStartDate), SmallBusApplicVal = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.SmallBusApplicVal), SmallBusEligible = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.SmallBusEligible), SmallBusPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.SmallBusPayment), SmallBusStatusFirstDayStandard = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.SmallBusStatusFirstDayStandard), SmallBusStatusThreshold = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.SmallBusStatusThreshold), SmallBusThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.SmallBusThresholdDate), YoungAppApplicVal = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.YoungAppApplicVal), YoungAppEligible = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.YoungAppEligible), YoungAppFirstPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.YoungAppFirstPayment), YoungAppFirstThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.YoungAppFirstThresholdDate), YoungAppPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.YoungAppPayment), YoungAppSecondPayment = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.YoungAppSecondPayment), YoungAppSecondThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.YoungAppSecondThresholdDate) }); }
public LearningDeliveryValues LearningDeliveryAttributeData(IDataEntity dataEntity) { return(new LearningDeliveryValues { ActualDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualDaysIL), ActualNumInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ActualNumInstalm), AdjStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AdjStartDate), AgeAtProgStart = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.AgeAtProgStart), AppAdjLearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AppAdjLearnStartDate), AppAdjLearnStartDateMatchPathway = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.AppAdjLearnStartDateMatchPathway), ApplicCompDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.ApplicCompDate), CombinedAdjProp = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.CombinedAdjProp), Completed = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.Completed), FirstIncentiveThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.FirstIncentiveThresholdDate), FundStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.FundStart), FworkCode = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.FworkCode), LDApplic1618FrameworkUpliftTotalActEarnings = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LDApplic1618FrameworkUpliftTotalActEarnings), LearnAimRef = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.LearnAimRef), LearnDel1618AtStart = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnDel1618AtStart), LearnDelAppAccDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelAppAccDaysIL), LearnDelApplicDisadvAmount = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelApplicDisadvAmount), LearnDelApplicEmp1618Incentive = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelApplicEmp1618Incentive), LearnDelApplicEmpDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnDelApplicEmpDate), LearnDelApplicProv1618FrameworkUplift = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelApplicProv1618FrameworkUplift), LearnDelApplicProv1618Incentive = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelApplicProv1618Incentive), LearnDelAppPrevAccDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelAppPrevAccDaysIL), LearnDelDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelDaysIL), LearnDelDisadAmount = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelDisadAmount), LearnDelEligDisadvPayment = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnDelEligDisadvPayment), LearnDelEmpIdFirstAdditionalPaymentThreshold = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelEmpIdFirstAdditionalPaymentThreshold), LearnDelEmpIdSecondAdditionalPaymentThreshold = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelEmpIdSecondAdditionalPaymentThreshold), LearnDelHistDaysThisApp = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelHistDaysThisApp), LearnDelHistProgEarnings = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelHistProgEarnings), LearnDelInitialFundLineType = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.LearnDelInitialFundLineType), LearnDelMathEng = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnDelMathEng), LearnDelProgEarliestACT2Date = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnDelProgEarliestACT2Date), LearnDelNonLevyProcured = _dataEntityAttributeService.GetBoolAttributeValue(dataEntity, Attributes.LearnDelNonLevyProcured), LearnDelApplicCareLeaverIncentive = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.LearnDelApplicCareLeaverIncentive), LearnDelHistDaysCareLeavers = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelHistDaysCareLeavers), LearnDelAccDaysILCareLeavers = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelAccDaysILCareLeavers), LearnDelPrevAccDaysILCareLeavers = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelPrevAccDaysILCareLeavers), LearnDelLearnerAddPayThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnDelLearnerAddPayThresholdDate), LearnDelRedCode = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.LearnDelRedCode), LearnDelRedStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnDelRedStartDate), LearnStartDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.LearnStartDate).Value, MathEngAimValue = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.MathEngAimValue), OutstandNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.OutstandNumOnProgInstalm), PlannedNumOnProgInstalm = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedNumOnProgInstalm), PlannedTotalDaysIL = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PlannedTotalDaysIL), ProgType = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ProgType), PwayCode = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.PwayCode), SecondIncentiveThresholdDate = _dataEntityAttributeService.GetDateTimeAttributeValue(dataEntity, Attributes.SecondIncentiveThresholdDate), StdCode = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.STDCode), ThresholdDays = _dataEntityAttributeService.GetIntAttributeValue(dataEntity, Attributes.ThresholdDays) }); }
public LearnerPeriodisedValues MapLearnerPeriodisedValues(IDataEntity dataEntity) { return(new LearnerPeriodisedValues() { AttributeName = Attributes.LnrOnProgPay, LearnRefNumber = _dataEntityAttributeService.GetStringAttributeValue(dataEntity, Attributes.LearnRefNumber), Period1 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period1), Period2 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period2), Period3 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period3), Period4 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period4), Period5 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period5), Period6 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period6), Period7 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period7), Period8 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period8), Period9 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period9), Period10 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period10), Period11 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period11), Period12 = _dataEntityAttributeService.GetDecimalAttributeValue(dataEntity, Attributes.Period12), }); }