重构模型基类

This commit is contained in:
2025-09-26 06:18:59 +08:00
parent 2a173c0566
commit cf5539f3c2
24 changed files with 43 additions and 45 deletions

View File

@@ -3,7 +3,7 @@
from . import response
# 将所有模型导入到这个包的命名空间中
from .base import BaseModel
from .base import TableBase
from .download import Download
from .file import File
from .folder import Folder
@@ -24,7 +24,7 @@ from .webdav import WebDAV
# 可以定义一个 __all__ 列表来明确指定可以被 from .models import * 导入的内容
__all__ = [
"BaseModel", "Download", "File", "Folder", "Group", "Node", "Order",
"TableBase", "Download", "File", "Folder", "Group", "Node", "Order",
"Policy", "Redeem", "Report", "Setting", "Share", "SourceLink",
"StoragePack", "Tag", "Task", "User", "WebDAV"
]