refactor dump listings to start using model instead of the data_access object

This commit is contained in:
Viktor Barzin 2025-06-07 12:46:53 +00:00
parent 842f7cefbe
commit 4f5a934fa9
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
5 changed files with 52 additions and 38 deletions

View file

@ -50,9 +50,6 @@ class RentListing(Listing, table=True):
class BuyListing(Listing, table=True):
service_charge: float | None = Field(default=None, nullable=True)
council_tax_band: str | None = Field(
default=None, nullable=True
) # e.g., A, B, C, D, E, F, G
lease_left: int | None = Field(
default=None, nullable=True
) # in years, e.g., 90, 80, etc.