2026.06.05 frontend javítgatás és új belépési logika megvalósítva
This commit is contained in:
@@ -44,9 +44,9 @@ class Address(Base):
|
||||
id: Mapped[uuid.UUID] = mapped_column(PG_UUID(as_uuid=True), primary_key=True, default=uuid.uuid4)
|
||||
postal_code_id: Mapped[Optional[int]] = mapped_column(Integer, ForeignKey("system.geo_postal_codes.id"))
|
||||
|
||||
street_name: Mapped[str] = mapped_column(String(200), nullable=False)
|
||||
street_type: Mapped[str] = mapped_column(String(50), nullable=False)
|
||||
house_number: Mapped[str] = mapped_column(String(50), nullable=False)
|
||||
street_name: Mapped[Optional[str]] = mapped_column(String(200), nullable=True)
|
||||
street_type: Mapped[Optional[str]] = mapped_column(String(50), nullable=True)
|
||||
house_number: Mapped[Optional[str]] = mapped_column(String(50), nullable=True)
|
||||
|
||||
stairwell: Mapped[Optional[str]] = mapped_column(String(20))
|
||||
floor: Mapped[Optional[str]] = mapped_column(String(20))
|
||||
@@ -60,6 +60,9 @@ class Address(Base):
|
||||
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), server_default=func.now())
|
||||
|
||||
# Kapcsolat az irányítószám táblához (zip/city lekéréshez)
|
||||
postal_code: Mapped[Optional["GeoPostalCode"]] = relationship("GeoPostalCode", lazy="joined")
|
||||
|
||||
|
||||
|
||||
class Rating(Base):
|
||||
|
||||
Reference in New Issue
Block a user