mirror of
https://github.com/yawaflua/BiahadHakatonProject.git
synced 2025-12-11 15:56:24 +02:00
12
db_repository/schemas/apartment.py
Normal file
12
db_repository/schemas/apartment.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from .base import BaseSchema
|
||||
from typing import List
|
||||
|
||||
|
||||
class ApartmentSchema(BaseSchema):
|
||||
owner: str
|
||||
location: str
|
||||
rooms: int
|
||||
has_mamad: str
|
||||
price: str
|
||||
accepted_regions: str
|
||||
is_available: bool = True
|
||||
Reference in New Issue
Block a user