1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
Files
AdministrationItDepartmens/backend/app/schemas/auth.py
2025-01-02 01:36:43 +06:00

18 lines
341 B
Python

"""Authentication schemas"""
from pydantic import BaseModel
class AdminLogin(BaseModel):
username: str
password: str
class EmployeeLogin(BaseModel):
last_name: str
password: str
class EmployeeResponse(BaseModel):
id: int
first_name: str
last_name: str
department: str
office: str
access_token: str