Пример #1
0
 internal static AffadavitReceiptParcel MapToParcel(
     TreastenderAffadavits receipt,
     AsmtrealPropertyAssessedValueMaster valueMaster,
     AsmtmasterNameAddress nameAddress,
     AsmtfullLegalDescription legalDescription)
 => new AffadavitReceiptParcel(receipt.Id, receipt.ParcelNumber, receipt.ReceiptTran, receipt.NewOwnerBuyer, receipt.PreviousOwnerSeller, receipt.TaxAmount,
                               receipt.TotalPaid, receipt.StateTaxPaid, receipt.AssessedValue, receipt.PPvalue, receipt.GiftDebt, receipt.LocalTaxPaid, receipt.StatePenalty,
                               receipt.LocalPenalty, receipt.LocalInterest, receipt.TechnicalFee, receipt.SubsidizedFee, receipt.LegalDocumentType, receipt.DocumentDate,
                               receipt.ExemptRegNumber, receipt.Description.Trim(), receipt.Description2.Trim(), receipt.MobileHomeNotation, valueMaster.UnimprovedLandValue,
                               valueMaster.ImprovedLandValue, valueMaster.BuildingValue, nameAddress.AddressLine1.Trim(), nameAddress.City.Trim(), legalDescription?.Descrtiption.Trim());
 internal static BuildingPermitSystemDetails Map(BldgpermitApplicationMaster bldgpermit,
                                                 ASMTValueMasterNameView preliminaryValueMaster,
                                                 ASMTValueMasterNameView assessorValueMaster,
                                                 Bldgjurisdictions juri,
                                                 Bldgjurisdictions processedJuri,
                                                 Bldgdepartments dept,
                                                 BldgpermitCodes perm,
                                                 AsmtsitusAddress situs,
                                                 AsmtcityCodeFile cityCode,
                                                 BldgmobileHomeDealersInstallersArchitects mdia,
                                                 BldgmobileHomeDealersInstallersArchitects mdiaBusinessEngineer,
                                                 Bldgcontractors bldgContractor,
                                                 AsmtrealPropertyAssessedValueMaster rpmas,
                                                 AsmtmasterNameAddress nName, BldgstateClassifications bldgstateClassification) =>
 new BuildingPermitSystemDetails(bldgpermit.ApplicantLastName, bldgpermit.ApplicantFirstName, bldgpermit.PermitCode.Trim(), bldgpermit.ProcessedForJurisdiction,
                                 bldgpermit.ApplicationDate.Value, bldgpermit.ApplicationUserId, bldgpermit.ApplicantBusinessName, bldgpermit.AddressLine1, bldgpermit.AddressLine2,
                                 bldgpermit.City, bldgpermit.State, bldgpermit.ZipCode, bldgpermit.PhoneNumber.Value, bldgpermit.PreliminaryParcelNumber.Value,
                                 bldgpermit.AssessorParcelNumber.Value, bldgpermit.AdditionalInformation, bldgpermit.ParkInformation, perm.PermitDescription, processedJuri.ShortDepartmentName,
                                 MapToBasicInfo(bldgpermit, juri, dept, bldgstateClassification), MapToApplicantDetails(bldgpermit, mdia, mdiaBusinessEngineer, bldgContractor), Map(preliminaryValueMaster),
                                 Map(assessorValueMaster), Map(situs, cityCode),
                                 MapToApprovalStatus(bldgpermit));
 internal static BuildingPermits Map(AsmtrealPropertyAssessedValueMaster rPAV,
                                     AsmtmasterNameAddress nNAME, AsmtlandUseCodes Lu, List <BuildingPermitsLineValue> lineValues) =>
 new BuildingPermits(rPAV.ParcelNumber, nNAME.Name, nNAME.Name, rPAV.Description1, Lu.UseCodeDesc, rPAV.Description2
                     , rPAV.ImprovedLandAcers + rPAV.UnimprovedLandAcres, rPAV.Description3, rPAV.ImprovedLandValue, rPAV.Description4
                     , rPAV.BuildingValue, lineValues);
 internal static BuildingPermitsMain Map(AsmtrealPropertyAssessedValueMaster rPAV, AsmtmasterNameAddress nNAME) =>
 new BuildingPermitsMain(rPAV.ParcelNumber, rPAV.TitleOwnerCode, nNAME.Name);
Пример #5
0
 internal static LineValue Map(AsmtrealPropertyAssociatedPersons rPASC, AsmtmasterNameAddress nName) =>
 new LineValue(rPASC?.NameCode, nName?.NameCode, rPASC?.Comment);
 internal static ManufacturedHomePark Map(AsmtmobileHomeParks homepark, AsmtmasterNameAddress nameAddress) =>
 new ManufacturedHomePark(homepark.Id, homepark.MhparkCode, homepark.Name.Trim(), homepark.AddressLine1.Trim(), homepark.AddressLine2.Trim(),
                          homepark.ContactNameCode, nameAddress?.Name.Trim(), homepark.TelephoneNumber, homepark.ParcelNumber.Value);
 internal static ManufacturedHomeParkDetails Map(AsmtmobileHomeParks homepark, AsmtmasterNameAddress nameAddress,
                                                 AsmtrealPropertyAssessedValueMaster masterRecord) =>
 new ManufacturedHomeParkDetails(homepark.MhparkCode, homepark.Name.Trim(), homepark.AddressLine1.Trim(), homepark.AddressLine2.Trim(),
                                 homepark.ContactNameCode, nameAddress?.Name.Trim(), homepark.TelephoneNumber, homepark.ParcelNumber.Value, homepark.Filler01,
                                 homepark.SpaceNumber.Value, homepark.QualCode.Trim(), masterRecord?.Description1, masterRecord?.Description2, masterRecord?.Description3,
                                 masterRecord?.Description4, masterRecord?.Description5);
 public static AssessorApproval MaptToAssessorApproval(AsmtrealPropertyAssessedValueMaster rpmas, BldgassessorApproval assessorApproval,
                                                       AsmtmasterNameAddress nName, BldgpermitApplicationMaster appm) =>
 new AssessorApproval(appm?.ApplicantProjectDescription, assessorApproval?.Comments, assessorApproval?.ApprovedByAssr,
                      assessorApproval?.UserIdassr, assessorApproval?.ChangeDate, appm?.AssessorParcelNumber, nName?.Name,
                      rpmas?.Description1, rpmas?.Description2);