2023-10-12 00:04:18 +02:00

11 lines
159 B
Python

from pydantic import BaseModel
class User(BaseModel):
id: int
username: str
password: str
roles: str
class UserInDB(User):
password: str