MedQA / models /user.py
mgbam's picture
Create models/user.py
07314be verified
raw
history blame
186 Bytes
from sqlmodel import SQLModel, Field
class User(SQLModel, table=True):
id: int = Field(default=None, primary_key=True)
username: str
full_name: str
hashed_password: str