PamGram/core/admin/models.py
2022-08-06 20:37:52 +08:00

8 lines
191 B
Python

from typing import Optional
from sqlmodel import SQLModel, Field
class Admin(SQLModel, table=True):
id: Optional[int] = Field(default=None, primary_key=True)
user_id: int = Field()