mirror of https://github.com/Bunsly/JobSpy
16 lines
370 B
Python
16 lines
370 B
Python
from typing import Optional, Union
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
from model.Position import Position
|
|
|
|
|
|
class User(BaseModel):
|
|
full_name: str
|
|
username: str
|
|
chat_id: Union[int, str] = None
|
|
experience: Union[int, str] = None
|
|
field: Optional[Position] = None
|
|
cities: Optional[list[str]] = None
|
|
title_filters: Optional[list[str]] = None
|