diff --git a/Controllers/iteration2/OfficesRatingCardController.cs b/Controllers/iteration2/OfficesRatingCardController.cs
index 65aeb93..d62ff12 100644
--- a/Controllers/iteration2/OfficesRatingCardController.cs
+++ b/Controllers/iteration2/OfficesRatingCardController.cs
@@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ValuationBackend.Models.iteration2.DTOs;
-using ValuationBackend.services.iteration2;
+using ValuationBackend.Services.iteration2;
namespace ValuationBackend.Controllers.iteration2
{
diff --git a/Extensions/RepositoryExtensions.cs b/Extensions/RepositoryExtensions.cs
index 8792be5..65b4650 100644
--- a/Extensions/RepositoryExtensions.cs
+++ b/Extensions/RepositoryExtensions.cs
@@ -1,6 +1,5 @@
using ValuationBackend.Repositories;
-using ValuationBackend.repositories;
-using ValuationBackend.repositories.iteration2;
+using ValuationBackend.Repositories.iteration2;
namespace ValuationBackend.Extensions
{
diff --git a/Extensions/ServiceExtensions.cs b/Extensions/ServiceExtensions.cs
index 6acb236..014aa52 100644
--- a/Extensions/ServiceExtensions.cs
+++ b/Extensions/ServiceExtensions.cs
@@ -1,5 +1,5 @@
using ValuationBackend.Services;
-using ValuationBackend.services.iteration2;
+using ValuationBackend.Services.iteration2;
namespace ValuationBackend.Extensions
{
diff --git a/Migrations/20250721111435_AddOfficesRatingCardTable.Designer.cs b/Migrations/20250721111435_AddOfficesRatingCardTable.Designer.cs
new file mode 100644
index 0000000..01fd15f
--- /dev/null
+++ b/Migrations/20250721111435_AddOfficesRatingCardTable.Designer.cs
@@ -0,0 +1,1893 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
+using ValuationBackend.Data;
+
+#nullable disable
+
+namespace ValuationBackend.Migrations
+{
+ [DbContext(typeof(AppDbContext))]
+ [Migration("20250721111435_AddOfficesRatingCardTable")]
+ partial class AddOfficesRatingCardTable
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "9.0.5")
+ .HasAnnotation("Relational:MaxIdentifierLength", 63);
+
+ NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
+
+ modelBuilder.Entity("LandAquisitionMasterFile", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("MasterFileNo")
+ .HasColumnType("integer");
+
+ b.Property("MasterFilesRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PlanNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PlanType")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("RequestingAuthorityReferenceNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Status")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.ToTable("LandAquisitionMasterFiles");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.Asset", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AssetNo")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("character varying(100)");
+
+ b.Property("CreatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Description")
+ .HasColumnType("integer");
+
+ b.Property("IsRatingCard")
+ .HasColumnType("boolean");
+
+ b.Property("Owner")
+ .IsRequired()
+ .HasMaxLength(200)
+ .HasColumnType("character varying(200)");
+
+ b.Property("RdSt")
+ .IsRequired()
+ .HasMaxLength(200)
+ .HasColumnType("character varying(200)");
+
+ b.Property("RequestId")
+ .HasColumnType("integer");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Ward")
+ .IsRequired()
+ .HasMaxLength(200)
+ .HasColumnType("character varying(200)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("RequestId");
+
+ b.ToTable("Assets");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.AssetDivision", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("Area")
+ .HasColumnType("numeric");
+
+ b.Property("AssetId")
+ .HasColumnType("integer");
+
+ b.Property("CreatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Description")
+ .IsRequired()
+ .HasMaxLength(500)
+ .HasColumnType("character varying(500)");
+
+ b.Property("LandType")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("character varying(100)");
+
+ b.Property("NewAssetNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("AssetId");
+
+ b.ToTable("AssetDivisions");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.AssetNumberChange", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("ChangedDate")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("DateOfChange")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Description")
+ .HasMaxLength(255)
+ .HasColumnType("character varying(255)");
+
+ b.Property("FieldSize")
+ .HasMaxLength(50)
+ .HasColumnType("character varying(50)");
+
+ b.Property("FieldType")
+ .HasMaxLength(50)
+ .HasColumnType("character varying(50)");
+
+ b.Property("NewAssetNo")
+ .IsRequired()
+ .HasMaxLength(50)
+ .HasColumnType("character varying(50)");
+
+ b.Property("OldAssetNo")
+ .IsRequired()
+ .HasMaxLength(50)
+ .HasColumnType("character varying(50)");
+
+ b.Property("Reason")
+ .HasMaxLength(100)
+ .HasColumnType("character varying(100)");
+
+ b.HasKey("Id");
+
+ b.ToTable("AssetNumberChanges");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.BuildingRatesLA", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AssessmentNumber")
+ .HasColumnType("text");
+
+ b.Property("ConstructedBy")
+ .HasColumnType("text");
+
+ b.Property("Cost")
+ .HasColumnType("text");
+
+ b.Property("CreatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("DescriptionOfProperty")
+ .HasColumnType("text");
+
+ b.Property("FloorAreaSQFT")
+ .HasColumnType("text");
+
+ b.Property("LocationLatitude")
+ .HasColumnType("text");
+
+ b.Property("LocationLongitude")
+ .HasColumnType("text");
+
+ b.Property("MasterFileId")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Owner")
+ .HasColumnType("text");
+
+ b.Property("RatePerSQFT")
+ .HasColumnType("text");
+
+ b.Property("Remarks")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("YearOfConstruction")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("BuildingRatesLA");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.ConditionReport", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AccessCategory")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AccessCategoryDescription")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AcquiredExtent")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AcquiringOfficerSignature")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AcquisitionName")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AssessmentNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AtLotNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("AtPlanNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BoundaryBottom")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BoundaryEast")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BoundaryNorth")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BoundarySouth")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BoundaryWest")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BuildingDescription")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("BuildingInfo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("ChiefValuerRepresentativeSignature")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("CreatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("DateOfSection3BA")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("DatePrepared")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("DepthOfLand")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("DescriptionOfLand")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("DetailsOfBusiness")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Frontage")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("GramasewakaSignature")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("LandUseDescription")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("LandUseType")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("LevelWithAccess")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("MasterFileId")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("NameOfTheLand")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("NameOfTheVillage")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("OtherConstructionsDescription")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("OtherConstructionsInfo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PlantationDetails")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PpCadLotNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PpCadNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("RoadName")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("ConditionReports");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.DomesticRatingCard", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("Access")
+ .HasColumnType("text");
+
+ b.Property("Age")
+ .HasColumnType("integer");
+
+ b.Property("AssetId")
+ .HasColumnType("integer");
+
+ b.Property("Condition")
+ .HasColumnType("text");
+
+ b.Property("Conveniences")
+ .HasColumnType("text");
+
+ b.Property("CreatedAt")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Date")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("Description")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Floor")
+ .HasColumnType("text");
+
+ b.Property("NewNumber")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Notes")
+ .HasColumnType("text");
+
+ b.Property("Occupier")
+ .HasColumnType("text");
+
+ b.Property("Owner")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("ParkingSpace")
+ .HasColumnType("text");
+
+ b.Property("Plantations")
+ .HasColumnType("text");
+
+ b.Property("PropertySubCategory")
+ .HasColumnType("text");
+
+ b.Property("PropertyType")
+ .HasColumnType("text");
+
+ b.Property("RentPM")
+ .HasColumnType("numeric");
+
+ b.Property("RoadName")
+ .HasColumnType("text");
+
+ b.Property("SelectWalls")
+ .HasColumnType("text");
+
+ b.Property("SuggestedRate")
+ .HasColumnType("numeric");
+
+ b.Property("Terms")
+ .HasColumnType("text");
+
+ b.Property("TsBop")
+ .HasColumnType("text");
+
+ b.Property("WardNumber")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("AssetId");
+
+ b.ToTable("DomesticRatingCards");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.ImageData", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("ImageBase64")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.HasKey("Id");
+
+ b.ToTable("ImageData");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.InspectionBuilding", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AgeYears")
+ .HasColumnType("text");
+
+ b.Property("BathroomToilet")
+ .HasColumnType("text");
+
+ b.Property("BathroomToiletDoorsFittings")
+ .HasColumnType("text");
+
+ b.Property("BuildingCategory")
+ .HasColumnType("text");
+
+ b.Property("BuildingClass")
+ .HasColumnType("text");
+
+ b.Property("BuildingConditions")
+ .HasColumnType("text");
+
+ b.Property("BuildingId")
+ .HasColumnType("text");
+
+ b.Property("BuildingName")
+ .HasColumnType("text");
+
+ b.Property("Ceiling")
+ .HasColumnType("text");
+
+ b.Property("Condition")
+ .HasColumnType("text");
+
+ b.Property("Conveniences")
+ .HasColumnType("text");
+
+ b.Property("Design")
+ .HasColumnType("text");
+
+ b.Property("DetailOfBuilding")
+ .HasColumnType("text");
+
+ b.Property("Door")
+ .HasColumnType("text");
+
+ b.Property("ExpectedLifePeriodYears")
+ .HasColumnType("text");
+
+ b.Property("FloorFinisher")
+ .HasColumnType("text");
+
+ b.Property("FloorStructure")
+ .HasColumnType("text");
+
+ b.Property("FoundationStructure")
+ .HasColumnType("text");
+
+ b.Property("HandRail")
+ .HasColumnType("text");
+
+ b.Property("InspectionReportId")
+ .HasColumnType("integer");
+
+ b.Property("NatureOfConstruction")
+ .HasColumnType("text");
+
+ b.Property("NoOfFloorsAboveGround")
+ .HasColumnType("text")
+ .HasColumnName("NoOfFloorsAboveGround");
+
+ b.Property("NoOfFloorsBelowGround")
+ .HasColumnType("text")
+ .HasColumnName("NoOfFloorsBelowGround");
+
+ b.Property("OtherDoors")
+ .HasColumnType("text");
+
+ b.Property("PantryCupboard")
+ .HasColumnType("text");
+
+ b.Property("ParkingSpace")
+ .HasColumnType("text");
+
+ b.Property("RoofFinisher")
+ .HasColumnType("text");
+
+ b.Property("RoofFrame")
+ .HasColumnType("text");
+
+ b.Property("RoofMaterial")
+ .HasColumnType("text");
+
+ b.Property("Services")
+ .HasColumnType("text");
+
+ b.Property("Structure")
+ .HasColumnType("text");
+
+ b.Property("WallFinisher")
+ .HasColumnType("text");
+
+ b.Property("WallStructure")
+ .HasColumnType("text");
+
+ b.Property("Window")
+ .HasColumnType("text");
+
+ b.Property("WindowProtection")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("InspectionReportId");
+
+ b.ToTable("InspectionBuildings");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.InspectionReport", b =>
+ {
+ b.Property("InspectionReportId")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("InspectionReportId"));
+
+ b.Property("DetailsOfAssestsInventoryItems")
+ .HasColumnType("text")
+ .HasColumnName("DetailsOfAssestsInventoryItems");
+
+ b.Property("DetailsOfBusiness")
+ .HasColumnType("text");
+
+ b.Property("District")
+ .HasColumnType("text");
+
+ b.Property("DsDivision")
+ .HasColumnType("text");
+
+ b.Property("GnDivision")
+ .HasColumnType("text");
+
+ b.Property("InspectionDate")
+ .HasColumnType("timestamp with time zone");
+
+ b.Property("MasterFileId")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("MasterFileRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("OtherConstructionDetails")
+ .HasColumnType("text");
+
+ b.Property("OtherInformation")
+ .HasColumnType("text");
+
+ b.Property("Province")
+ .HasColumnType("text");
+
+ b.Property("Remark")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("Village")
+ .HasColumnType("text");
+
+ b.HasKey("InspectionReportId");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("InspectionReports");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.LMBuildingRates", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AssessmentNumber")
+ .HasColumnType("text");
+
+ b.Property("ConstructedBy")
+ .HasColumnType("text");
+
+ b.Property("Cost")
+ .HasColumnType("text");
+
+ b.Property("DescriptionOfProperty")
+ .HasColumnType("text");
+
+ b.Property("FloorArea")
+ .HasColumnType("text");
+
+ b.Property("LocationLatitude")
+ .HasColumnType("text");
+
+ b.Property("LocationLongitude")
+ .HasColumnType("text");
+
+ b.Property("MasterFileRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Owner")
+ .HasColumnType("text");
+
+ b.Property("RatePerSQFT")
+ .HasColumnType("text");
+
+ b.Property("Remarks")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("YearOfConstruction")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("LMBuildingRates");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.LMPastValuation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("DateOfValuation")
+ .HasColumnType("text");
+
+ b.Property("Extent")
+ .HasColumnType("text");
+
+ b.Property("FileNo_GnDivision")
+ .HasColumnType("text");
+
+ b.Property("LocationLatitude")
+ .HasColumnType("text");
+
+ b.Property("LocationLongitude")
+ .HasColumnType("text");
+
+ b.Property("MasterFileRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("PlanOfParticulars")
+ .HasColumnType("text");
+
+ b.Property("PurposeOfValuation")
+ .HasColumnType("text");
+
+ b.Property("Rate")
+ .HasColumnType("text");
+
+ b.Property("RateType")
+ .HasColumnType("text");
+
+ b.Property("Remarks")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("Situation")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("LMPastValuations");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.LMRentalEvidence", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AssessmentNo")
+ .HasColumnType("text");
+
+ b.Property("Description")
+ .HasColumnType("text");
+
+ b.Property("FloorRate")
+ .HasColumnType("text");
+
+ b.Property("HeadOfTerms")
+ .HasColumnType("text");
+
+ b.Property("LocationLatitude")
+ .HasColumnType("text");
+
+ b.Property("LocationLongitude")
+ .HasColumnType("text");
+
+ b.Property("MasterFileRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Occupier")
+ .HasColumnType("text");
+
+ b.Property("Owner")
+ .HasColumnType("text");
+
+ b.Property("RatePer")
+ .HasColumnType("text");
+
+ b.Property("RatePerMonth")
+ .HasColumnType("text");
+
+ b.Property("Remarks")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("Situation")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("LMRentalEvidences");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.LMSalesEvidence", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("AssetNumber")
+ .HasColumnType("text");
+
+ b.Property("Consideration")
+ .HasColumnType("text");
+
+ b.Property("DeedAttestedNumber")
+ .HasColumnType("text");
+
+ b.Property("DeedNumber")
+ .HasColumnType("text");
+
+ b.Property("DescriptionOfProperty")
+ .HasColumnType("text");
+
+ b.Property("Extent")
+ .HasColumnType("text");
+
+ b.Property("LandRegistryReferences")
+ .HasColumnType("text");
+
+ b.Property("LocationLatitude")
+ .HasColumnType("text");
+
+ b.Property("LocationLongitude")
+ .HasColumnType("text");
+
+ b.Property("LotNumber")
+ .HasColumnType("text");
+
+ b.Property("MasterFileRefNo")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("NotaryName")
+ .HasColumnType("text");
+
+ b.Property("PlanDate")
+ .HasColumnType("text");
+
+ b.Property("PlanNumber")
+ .HasColumnType("text");
+
+ b.Property("Rate")
+ .HasColumnType("text");
+
+ b.Property("RateType")
+ .HasColumnType("text");
+
+ b.Property("Remarks")
+ .HasColumnType("text");
+
+ b.Property("ReportId")
+ .HasColumnType("integer");
+
+ b.Property("Road")
+ .HasColumnType("text");
+
+ b.Property("Situation")
+ .HasColumnType("text");
+
+ b.Property("Vendor")
+ .HasColumnType("text");
+
+ b.Property("Village")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ReportId");
+
+ b.ToTable("LMSalesEvidences");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.LandMiscellaneousMasterFile", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer");
+
+ NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
+
+ b.Property("Lots")
+ .HasColumnType("integer");
+
+ b.Property("MasterFileNo")
+ .HasColumnType("integer");
+
+ b.Property("PlanNo")
+ .HasColumnType("text");
+
+ b.Property("PlanType")
+ .HasColumnType("text");
+
+ b.Property("RequestingAuthorityReferenceNo")
+ .HasColumnType("text");
+
+ b.Property("Status")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.ToTable("LandMiscellaneousMasterFiles");
+ });
+
+ modelBuilder.Entity("ValuationBackend.Models.MasterDataItem", b =>
+ {
+ b.Property