2025-02-19 13:02:10 +01:00

11 lines
258 B
Python

from sqlmodel import SQLModel, Field
from uuid import uuid4, UUID
class House(SQLModel, table=True):
id: UUID = Field(primary_key=True, default_factory=uuid4),
address: str
city: str
country: str
price: float
description: str = None