Initial commit: Daily News App

企業內部新聞彙整與分析系統
- 自動新聞抓取 (Digitimes, 經濟日報, 工商時報)
- AI 智慧摘要 (OpenAI/Claude/Ollama)
- 群組管理與訂閱通知
- 已清理 Python 快取檔案

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
donald
2025-12-03 23:53:24 +08:00
commit db0f0bbfe7
50 changed files with 11883 additions and 0 deletions

25
app/models/__init__.py Normal file
View File

@@ -0,0 +1,25 @@
"""
資料模型模組
匯出所有 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",
]