feat: v1.7 overhaul - identity hash, triple wallet, financial ledger, and security audit system

This commit is contained in:
2026-02-16 00:42:49 +00:00
parent bb02d4ed59
commit d574d3297d
63 changed files with 3710 additions and 565 deletions

View File

@@ -86,12 +86,17 @@ class ServiceStaging(Base):
name = Column(String, nullable=False, index=True)
# --- Strukturált cím adatok (A kérésedre bontva) ---
postal_code = Column(String(10), nullable=True, index=True) # Irányítószám
city = Column(String(100), nullable=True, index=True) # Település
street = Column(String(255), nullable=True) # Utca és közterület jellege (pl. Diófa utca)
house_number = Column(String(50), nullable=True) # Házszám, emelet, ajtó
full_address = Column(String, nullable=True) # Az eredeti, egybefüggő cím (ha van)
postal_code = Column(String(10), index=True)
city = Column(String(100), index=True)
street_name = Column(String(150))
street_type = Column(String(50)) # utca, út, tér...
house_number = Column(String(20))
stairwell = Column(String(20)) # lépcsőház
floor = Column(String(20)) # emelet
door = Column(String(20)) # ajtó
hrsz = Column(String(50)) # helyrajzi szám
full_address = Column(String) # Eredeti string (audit célból)
# --- Elérhetőségek ---
contact_phone = Column(String, nullable=True)
email = Column(String, nullable=True)
@@ -111,4 +116,14 @@ class ServiceStaging(Base):
status = Column(String(20), server_default=text("'pending'"), index=True)
trust_score = Column(Integer, default=0)
created_at = Column(DateTime(timezone=True), server_default=func.now())
created_at = Column(DateTime(timezone=True), server_default=func.now())
class DiscoveryParameter(Base):
__tablename__ = "discovery_parameters"
__table_args__ = {"schema": "data"}
id = Column(Integer, primary_key=True)
city = Column(String(100), nullable=False)
keyword = Column(String(100), nullable=False) # pl. "autóvillamosság"
country_code = Column(String(2), default="HU")
is_active = Column(Boolean, default=True)
last_run_at = Column(DateTime(timezone=True))