geo/backend/app/models/__init__.py

62 lines
1.8 KiB
Python

from app.models.user import User
from app.models.query import Query
from app.models.citation_record import CitationRecord
from app.models.query_task import QueryTask
from app.models.subscription import Subscription
from app.models.organization import Organization, OrgMember
from app.models.lifecycle import LifecycleProject, ProjectStage
from app.models.agent import AgentRegistry, AgentConfig, AgentTask, AgentTaskLog
from app.models.content import Content, ContentVersion, ContentReview
from app.models.platform_rule import PlatformRule
from app.models.brand_knowledge import BrandKnowledge, Keyword
from app.models.knowledge import (
KnowledgeBase,
KnowledgeDocument,
KnowledgeChunk,
KnowledgeSearchLog,
)
from app.models.analytics import PublishRecord, ContentMetrics, OptimizationInsight
from app.models.distribution import DistributionSchedule
# 缺失的模型导入 - 重构后遗留
from app.models.brand import Brand
from app.models.competitor import Competitor
from app.models.suggestion import Suggestion
from app.models.alert import Alert
from app.models.alert_setting import AlertSetting
__all__ = [
"User",
"Query",
"CitationRecord",
"QueryTask",
"Subscription",
"Organization",
"OrgMember",
"LifecycleProject",
"ProjectStage",
"AgentRegistry",
"AgentConfig",
"AgentTask",
"AgentTaskLog",
"Content",
"ContentVersion",
"ContentReview",
"PlatformRule",
"BrandKnowledge",
"Keyword",
"KnowledgeBase",
"KnowledgeDocument",
"KnowledgeChunk",
"KnowledgeSearchLog",
"PublishRecord",
"ContentMetrics",
"OptimizationInsight",
"DistributionSchedule",
# 缺失的模型 - 重构后遗留
"Brand",
"Competitor",
"Suggestion",
"Alert",
"AlertSetting",
]