- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
24 lines
566 B
TypeScript
24 lines
566 B
TypeScript
import { Product } from '../../products/entities/product.entity';
|
|
export declare enum AlertType {
|
|
LOW_STOCK = "low_stock",
|
|
OUT_OF_STOCK = "out_of_stock",
|
|
EXPIRING = "expiring"
|
|
}
|
|
export declare enum AlertStatus {
|
|
ACTIVE = "active",
|
|
RESOLVED = "resolved",
|
|
DISMISSED = "dismissed"
|
|
}
|
|
export declare class StockAlert {
|
|
id: string;
|
|
tenantId: string;
|
|
productId: string;
|
|
alertType: AlertType;
|
|
status: AlertStatus;
|
|
currentStock: number;
|
|
threshold: number;
|
|
resolvedAt: Date;
|
|
createdAt: Date;
|
|
product: Product;
|
|
}
|