feat(validation): complete validation editor and master data modules

This commit is contained in:
Schubert Ferenc 2026-07-10 22:42:03 +02:00
parent 2b5c765e41
commit f73a24df13
73 changed files with 10194 additions and 0 deletions

View file

@ -0,0 +1,24 @@
from __future__ import annotations
from pydantic import BaseModel, EmailStr
from app.models.user import UserRole
from app.schemas.common import EntityRead
class LoginRequest(BaseModel):
email: EmailStr
password: str
class TokenResponse(BaseModel):
access_token: str
token_type: str = "bearer"
class UserRead(EntityRead):
email: EmailStr
full_name: str
role: UserRole
is_active: bool