企業內部新聞彙整與分析系統 - 自動新聞抓取 (Digitimes, 經濟日報, 工商時報) - AI 智慧摘要 (OpenAI/Claude/Ollama) - 群組管理與訂閱通知 - 已清理 Python 快取檔案 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
1001 B
Python
26 lines
1001 B
Python
"""
|
|
資料模型模組
|
|
匯出所有 SQLAlchemy 模型
|
|
"""
|
|
from app.models.user import User, Role, AuthType
|
|
from app.models.news import NewsSource, NewsArticle, CrawlJob, SourceType, CrawlStatus
|
|
from app.models.group import Group, Keyword, ArticleGroupMatch, GroupCategory
|
|
from app.models.report import Report, ReportArticle, ReportStatus
|
|
from app.models.interaction import Subscription, Favorite, Comment, Note
|
|
from app.models.system import SystemSetting, AuditLog, NotificationLog, SettingType, NotificationType, NotificationStatus
|
|
|
|
__all__ = [
|
|
# User
|
|
"User", "Role", "AuthType",
|
|
# News
|
|
"NewsSource", "NewsArticle", "CrawlJob", "SourceType", "CrawlStatus",
|
|
# Group
|
|
"Group", "Keyword", "ArticleGroupMatch", "GroupCategory",
|
|
# Report
|
|
"Report", "ReportArticle", "ReportStatus",
|
|
# Interaction
|
|
"Subscription", "Favorite", "Comment", "Note",
|
|
# System
|
|
"SystemSetting", "AuditLog", "NotificationLog", "SettingType", "NotificationType", "NotificationStatus",
|
|
]
|