2026.06.04 frontend építés közben
This commit is contained in:
@@ -21,16 +21,18 @@ class UserLiteRegister(BaseModel):
|
||||
region_code: Optional[str] = "HU"
|
||||
lang: Optional[str] = "hu"
|
||||
timezone: Optional[str] = "Europe/Budapest"
|
||||
referred_by_code: Optional[str] = None # Meghívó referral kódja (opcionális)
|
||||
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
class UserKYCComplete(BaseModel):
|
||||
""" Step 2: Teljes körű személyazonosítás és címadatok. """
|
||||
phone_number: str = Field(..., pattern=r"^\+?[0-9]{7,15}$")
|
||||
birth_place: str
|
||||
birth_date: date
|
||||
mothers_last_name: str
|
||||
mothers_first_name: str
|
||||
phone_number: Optional[str] = Field(default=None, pattern=r"^\+?[0-9]{7,15}$")
|
||||
birth_place: Optional[str] = None
|
||||
birth_date: Optional[date] = None
|
||||
mothers_last_name: Optional[str] = None
|
||||
mothers_first_name: Optional[str] = None
|
||||
region_code: Optional[str] = "HU"
|
||||
|
||||
# Atomizált címadatok a pontos GPS-hez és Robot-munkához
|
||||
address_zip: str
|
||||
@@ -45,7 +47,7 @@ class UserKYCComplete(BaseModel):
|
||||
|
||||
# Okmányok és Vészhelyzet
|
||||
identity_docs: Dict[str, DocumentDetail] # pl: {"ID_CARD": {...}, "LICENSE": {...}}
|
||||
ice_contact: ICEContact
|
||||
ice_contact: Optional[ICEContact] = None
|
||||
|
||||
preferred_language: str = "hu"
|
||||
preferred_currency: str = "HUF"
|
||||
|
||||
Reference in New Issue
Block a user