internal static RealPropertyLegalDocument Map(AsmtrealPropertyAssessedValueMaster valueMaster, ASMTValueMasterNameView namesRecord, AsmttaxCodeArea codeArea, AsmtlandUseCodes landUserCode, List <LegalDocument> legalDocuments) => new RealPropertyLegalDocument(valueMaster.ParcelNumber.Value, namesRecord.TaxpayerCode, namesRecord.TaxpayerName?.Trim(), namesRecord.TitleOwnerCode, namesRecord.TitleOwnerName?.Trim(), namesRecord.ContractHolderCode, namesRecord.ContractHolderName?.Trim(), valueMaster.LoanNumber, valueMaster.BuildingValue.Value, valueMaster.ImprovedLandValue.Value, valueMaster.LandUseCode.Value, valueMaster.TaxYear.Value, codeArea.TaxCodeArea.Value, codeArea.TaxCodeDesc.Trim(), landUserCode?.UseCodeShortDesc, valueMaster.UnimprovedLandValue, legalDocuments);
internal static LegalDocumentDetails Map(AsmtrealPropertyAssessedValueMaster valueMaster, ASMTValueMasterNameView namesRecord, AsmtlegalDocuments legalDocument, AsmttaxCodeArea codeArea, AsmtlandUseCodes landUserCode, AsmtsalesAndExciseTaxData exciseTaxData, AsmtinstrumentType instrumentType, AsmtsalesRejectionReasonCodes rejectionReasonCode ) => new LegalDocumentDetails(valueMaster.ParcelNumber.Value, namesRecord.TaxpayerCode, namesRecord.TaxpayerName?.Trim(), namesRecord.TitleOwnerCode, namesRecord.TitleOwnerName?.Trim(), namesRecord.ContractHolderCode, namesRecord.ContractHolderName?.Trim(), valueMaster.LoanNumber, valueMaster.BuildingValue.Value, valueMaster.LandUseCode.Value, valueMaster.UnimprovedLandValue.Value, valueMaster.ImprovedLandValue.Value, legalDocument.LegalInstrumentDate, legalDocument.LegalDocumentType, legalDocument.PreviousOwnerSeller, legalDocument.Volume.Value, legalDocument.Page.Value, legalDocument.AffidavitNumber.Value, legalDocument.AffidavitNumberExtension, legalDocument.AuditorFileNumber.Value, legalDocument.Comment, legalDocument.ChangeId, legalDocument.ChangeDate.Value, legalDocument.AssocateParcelNumber.Value, legalDocument.ProbateNumber.Value, exciseTaxData?.RPsalesAmount, exciseTaxData?.PPsalesAmount, exciseTaxData?.MultipleParcelSale, exciseTaxData?.SaleRejectionCode, exciseTaxData?.Comment, exciseTaxData?.PersPropParcel, exciseTaxData?.IncorporatedArea, exciseTaxData?.AssessedValue, exciseTaxData?.TaxYear, exciseTaxData?.SaleDate, codeArea.TaxCodeArea.Value, codeArea.TaxCodeDesc.Trim(), landUserCode?.UseCodeShortDesc, instrumentType?.InstrumentTypeDescription, rejectionReasonCode?.Comment);
internal static RealPropertyDetails Map(ASMTValueMasterNameView namesRecord, AsmttaxCodeArea codeArea, AsmtrealPropertyAssessedValueMaster valueMaster, AsmtlandUseCodes landUserCode, AsmtzoneDescriptions zoneCode, AsmtnewConstruction construction, AsmtseniorCitizenHistory citizenHistory) => new RealPropertyDetails(namesRecord.ParcelNumber.Value, namesRecord.TaxpayerCode, namesRecord.TaxpayerName?.Trim(), namesRecord.TitleOwnerCode, namesRecord.TitleOwnerName?.Trim(), namesRecord.ContractHolderCode, namesRecord.ContractHolderName?.Trim(), valueMaster.TaxYear.Value, valueMaster.NameChangeDate, valueMaster.NameChangeId, valueMaster.NameChangeReason, valueMaster.LoanNumber, valueMaster.PlatCode, valueMaster.PlatCodeType, valueMaster.BlockNumber, valueMaster.LotNumber, valueMaster.UnitNumber, valueMaster.DockNumber, valueMaster.Description1, valueMaster.Description2, valueMaster.Description3, valueMaster.Description4, valueMaster.Description5, codeArea.TaxCodeArea.Value, codeArea.TaxCodeDesc.Trim(), valueMaster.LandUseCode.Value, valueMaster.ChangeDate.Value, valueMaster.ChangeId, valueMaster.ChangeReasonCode, landUserCode?.UseCodeShortDesc, valueMaster.ZoneCode, zoneCode?.ZoneCodeDesc, valueMaster.TaxStatus, valueMaster.RevalutionPhase, valueMaster.UnimprovedLandAcres.Value, valueMaster.ImprovedLandAcers.Value, valueMaster.TimberAcers.Value, valueMaster.UnimprovedLandValue.Value, valueMaster.ImprovedLandValue.Value, valueMaster.TimberlandValue.Value, valueMaster.BuildingValue.Value, valueMaster.FmbuildingValue.Value, valueMaster.FmunimprovedLandValue.Value, valueMaster.FmimprovedLandValue.Value, valueMaster.FmtimberValue.Value, (construction == null) ? (decimal?)null : construction.NewConstructionBuildingAv, valueMaster.AssocMhparcel.Value, valueMaster.AffidavitAssessmentYear.Value, valueMaster.AffidavitTaxYear.Value, valueMaster.OpenspaceApplicationNum.Value, valueMaster.OpenSpaceAgreementNum.Value, valueMaster.UndividedInterestPercent.Value, valueMaster.MobileHomeValue.Value, citizenHistory?.SeniorCitizenCode, valueMaster.SubsidiaryParcelCode);
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);