- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
26 lines
669 B
TypeScript
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;
|
|
}
|