Files
admin 46af290db3
Build and Push Docker Images / build-and-push (push) Failing after 3m33s
initial commit
2026-11-07 16:39:43 +03:00

29 lines
401 B
Python

from uuid import uuid4
from pydantic import BaseModel
class User(BaseModel):
id: str
username: str
email: str
hashed_password: str
class UserCreate(BaseModel):
username: str
email: str
password: str
class UserLogin(BaseModel):
username: str
password: str
class Token(BaseModel):
access_token: str
token_type: str
user_id: str
username: str