michangarrito/apps/backend/dist/modules/orders/dto/order.dto.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

26 lines
669 B
TypeScript

import { OrderChannel, OrderType, OrderStatus } from '../entities/order.entity';
export declare class OrderItemDto {
productId?: string;
productName: string;
quantity: number;
unitPrice: number;
notes?: string;
}
export declare class CreateOrderDto {
customerId?: string;
channel?: OrderChannel;
orderType?: OrderType;
items: OrderItemDto[];
deliveryFee?: number;
discountAmount?: number;
deliveryAddress?: string;
deliveryNotes?: string;
customerNotes?: string;
paymentMethod?: string;
}
export declare class UpdateOrderStatusDto {
status: OrderStatus;
reason?: string;
internalNotes?: string;
}