mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-15 19:28:52 +02:00
feat: Introduce AI analysis engine for product A/Z recommendations based on detailed business rules.
This commit is contained in:
1 parent
e96bfa818d
commit
95795ce7e3
6 files changed
+199
-90
No files matched your search
+11
-1
@@ -56,9 +56,19 @@ export interface ProductRow {
|
||||
totalCa: number;
|
||||
totalMarge: number;
|
||||
tauxMarge: number;
|
||||
/** Combined performance score (0-10) */
|
||||
/** Score de performance hybride (0-100) */
|
||||
score: number;
|
||||
workingStores: string[];
|
||||
/** Rotation normalisée : unités vendues / magasin / mois */
|
||||
unitsPerStorePerMonth?: number;
|
||||
/** CA normalisé : € / magasin / an */
|
||||
caPerStorePerYear?: number;
|
||||
/** Produit récent (≤ 3 mois de données) */
|
||||
isRecent?: boolean;
|
||||
/** Seul produit du fournisseur dans le lot */
|
||||
isLastProduct?: boolean;
|
||||
/** Top 30% CA du lot fournisseur */
|
||||
isTop30Supplier?: boolean;
|
||||
aiRecommendation?: string | null;
|
||||
/** SQL Server internal ID — nécessaire pour /api/articles/:noid/mensuel */
|
||||
noid?: number;
|
||||
|
||||
Reference in new issue
Block a user