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:
25
app/models/__init__.py
Normal file
25
app/models/__init__.py
Normal 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",
|
||||
]
|
||||
Reference in New Issue
Block a user