feat/db-init #3

Open
Nitro wants to merge 41 commits from feat/db-init into dev
2 changed files with 14 additions and 1 deletions
Showing only changes of commit 88c4460da9 - Show all commits
+2 -1
View File
@@ -2,5 +2,6 @@ from .robot import Robot
from .product import Product
from .inventory import InventoryRecord
from .user import User
from .ai_prediction import AIPrediction
__all__ = ['Robot', 'Product', 'InventoryRecord', 'User']
__all__ = ['Robot', 'Product', 'InventoryRecord', 'User', 'AIPrediction']
+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