// src/dto/order.dto.ts
import { OrderStatus, PaymentMethod } from '../../entity/order';

export class CreateOrderDto {
  address_id?: number;
  payment_method?: PaymentMethod;
  is_tax_inclusive?: boolean;
  gst_invoice_required?: boolean;
}

export class UpdateOrderDto {
  status?: OrderStatus;
  tracking_number?: string;
}

export class OrderResponseDto {
  order_id?: number;
  status?: OrderStatus;
  order_date?: Date;
  subtotal?: number;
  tax_amount?: number;
  total_amount?: number;
  payment_method?: PaymentMethod;
  tracking_number?: string;
  is_tax_inclusive?: boolean;
  gst_invoice_required?: boolean;
  user_id?: number;
  address_id?: number;
}