37 lines
629 B
Python
37 lines
629 B
Python
from sqlalchemy.orm import DeclarativeBase
|
|
|
|
|
|
class Base(DeclarativeBase):
|
|
pass
|
|
|
|
|
|
from app.models.entities import (
|
|
Parent,
|
|
Child,
|
|
ParentChildRelation,
|
|
DeviceBinding,
|
|
DeviceBindSession,
|
|
DeviceBindHistory,
|
|
Card,
|
|
DeviceSetting,
|
|
IMConversation,
|
|
IMMessage,
|
|
ChildLocationCurrent,
|
|
ChildLocationHistory,
|
|
)
|
|
|
|
__all__ = [
|
|
"Base",
|
|
"Parent",
|
|
"Child",
|
|
"ParentChildRelation",
|
|
"DeviceBinding",
|
|
"DeviceBindSession",
|
|
"DeviceBindHistory",
|
|
"Card",
|
|
"DeviceSetting",
|
|
"IMConversation",
|
|
"IMMessage",
|
|
"ChildLocationCurrent",
|
|
"ChildLocationHistory",
|
|
] |