Files
findreve/model/base/__init__.py

29 lines
671 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from .sqlmodel_base import SQLModelBase
from .table_base import TableBase, UUIDTableBase
# 新的 Mixin 类(从 foxline 项目移植)
from ..mixin.table import (
TableBaseMixin,
UUIDTableBaseMixin,
ListResponse,
TableViewRequest,
TimeFilterRequest,
PaginationRequest,
)
# 保持向后兼容TableBase/UUIDTableBase 作为旧名称继续可用
# 新代码推荐使用 TableBaseMixin/UUIDTableBaseMixin
__all__ = [
"SQLModelBase",
"TableBase",
"UUIDTableBase",
# 新的 Mixin 类
"TableBaseMixin",
"UUIDTableBaseMixin",
"ListResponse",
"TableViewRequest",
"TimeFilterRequest",
"PaginationRequest",
]