This commit is contained in:
roma-dxunvrs
2025-11-30 12:38:46 +03:00
commit 27466a255f
17 changed files with 250 additions and 0 deletions

10
app/schemas/user.py Normal file
View File

@@ -0,0 +1,10 @@
from pydantic import BaseModel, EmailStr, ConfigDict
class UserSchema(BaseModel):
model_config = ConfigDict(strict=True)
username: str
password: bytes
email: EmailStr | None = None
active: bool = True