2024-10-15 16:34:09 +04:00
|
|
|
from typing import Annotated
|
2024-10-14 21:18:07 +04:00
|
|
|
|
2024-10-15 16:34:09 +04:00
|
|
|
from sqlalchemy.orm import DeclarativeBase, mapped_column
|
|
|
|
|
|
|
|
int_pk_incr = Annotated[int, mapped_column(primary_key=True, autoincrement=True)]
|
2024-10-14 21:18:07 +04:00
|
|
|
|
|
|
|
class Base(DeclarativeBase):
|
|
|
|
pass
|