feat(model/ai_prediction.py): Added new model AIPrediction

This commit is contained in:
Kita Trofimov
2025-10-26 15:52:48 +03:00
committed by Sweetbread
parent 51bf856434
commit 88c4460da9
2 changed files with 14 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
from dataclasses import dataclass
from datetime import datetime, date
@dataclass
class AIPrediction:
id: int
product_id: str
prediction_date: date
days_until_stockout: int
recommended_order: int
confidence_score: float
created_at: datetime