PamGram/core/admin/models.py

9 lines
192 B
Python
Raw Normal View History

from typing import Optional
from sqlmodel import SQLModel, Field
class Admin(SQLModel, table=True):
id: Optional[int] = Field(default=None, primary_key=True)
2022-08-11 13:18:12 +00:00
user_id: int = Field()