// 订单信息类型
export interface OrderItem {
  id: number;
  orderNo: string;
  outTradeNo?: string;
  activityId?: string;
  userId: number;
  deviceId: string;
  shopId?: number;
  shopName?: string;
  totalAmount: number;
  payAmount?: number;
  discountAmount?: number;
  payStatus: string;
  payType?: string;
  payTime?: string;
  status: number;
  refundStatus?: number;
  refundReason?: string;
  refundTime?: string;
  createTime: string;
  items?: OrderItemDetail[];
  videoUrl?: string;
  confidence?: number;
}

// 订单明细类型
export interface OrderItemDetail {
  id: number;
  productId: number;
  productName: string;
  productImage: string;
  price: number;
  quantity: number;
  amount: number;
}

// 搜索表单类型
export interface OrderSearchForm {
  orderNo: string;
  deviceId: string;
  payStatus: string;
  status: number | string;
  startDate: string;
  endDate: string;
}
