24 lines
736 B
Python
24 lines
736 B
Python
"""GroupStore 组合各个存储模块,作为兼容旧代码的门面。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
from group_system.storage.accounts import AccountStoreMixin
|
|
from group_system.storage.admin import TeacherGroupAdminMixin
|
|
from group_system.storage.database import DatabaseCore
|
|
from group_system.storage.export import ExportStoreMixin
|
|
from group_system.storage.groups import GroupOperationsMixin
|
|
from group_system.storage.roster import RosterStoreMixin
|
|
|
|
|
|
class GroupStore(
|
|
DatabaseCore,
|
|
RosterStoreMixin,
|
|
AccountStoreMixin,
|
|
GroupOperationsMixin,
|
|
TeacherGroupAdminMixin,
|
|
ExportStoreMixin,
|
|
):
|
|
"""封装所有 SQLite 持久化操作。HTTP 层只依赖这个门面。"""
|