refactor dump listings to start using model instead of the data_access object
This commit is contained in:
parent
842f7cefbe
commit
4f5a934fa9
5 changed files with 52 additions and 38 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue