from typing import Type
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.sql.sqltypes import TypeEngine
from .model import Model


def Column(
    sqltype: TypeEngine,
    primary_key: bool = False,
    nullable: bool = False,
): pass


class SQLAlchemy(SQLAlchemy):
    Model: Type[Model]
    Column: Column
