Add DTOs for owner
This commit is contained in:
1 parent
6f5a2f422e
commit
8c2f5acccf
6 files changed
+57
-6
No files matched your search
@@ -8,4 +8,4 @@ class House(SQLModel, table=True):
|
||||
country: str = Field()
|
||||
price: float = Field()
|
||||
description: str = Field()
|
||||
owner_id: UUID = Field(foreign_key="user.id") # TODO consider using owner.id
|
||||
owner_id: UUID = Field(foreign_key="owner.id")
|
||||
Reference in new issue
Block a user