37 lines
853 B
Python
37 lines
853 B
Python
# from datetime import datetime
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class SDatingAdd(BaseModel):
|
|
sessionkey: str
|
|
theme_name: str
|
|
sender_looking_relationship: str
|
|
sender_name: str
|
|
sender_sex: str
|
|
sender_age: int
|
|
sender_city: str
|
|
telegram_name: str
|
|
sender_relationship: str
|
|
sender_having_kids: str
|
|
sender_want_to_have_kids: str
|
|
interests_in_school_university: str
|
|
interests_in_sports: str
|
|
interests_in_work: str
|
|
interests_in_your_free_time: str
|
|
pets_plants_fish: str
|
|
relationships_with_relatives_and_friends: str
|
|
past_relationships: str
|
|
life_principles_values: str
|
|
goals_in_life: str
|
|
message_text: str
|
|
privacy_accept: bool
|
|
|
|
|
|
class SDating(SDatingAdd):
|
|
id: int
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
|
|
class SDatingId(BaseModel):
|
|
id: int
|