open-law/app/schema/user.py

10 lines
129 B
Python
Raw Normal View History

2023-04-20 13:10:16 +00:00
from pydantic import BaseModel
class User(BaseModel):
id: int
username: str
class Config:
orm_mode = True