- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
26 lines
620 B
TypeScript
26 lines
620 B
TypeScript
import { Product } from '../../products/entities/product.entity';
|
|
export declare enum MovementType {
|
|
PURCHASE = "purchase",
|
|
SALE = "sale",
|
|
ADJUSTMENT = "adjustment",
|
|
LOSS = "loss",
|
|
RETURN = "return",
|
|
TRANSFER = "transfer"
|
|
}
|
|
export declare class InventoryMovement {
|
|
id: string;
|
|
tenantId: string;
|
|
productId: string;
|
|
movementType: MovementType;
|
|
quantity: number;
|
|
quantityBefore: number;
|
|
quantityAfter: number;
|
|
unitCost: number;
|
|
referenceType: string;
|
|
referenceId: string;
|
|
notes: string;
|
|
createdBy: string;
|
|
createdAt: Date;
|
|
product: Product;
|
|
}
|