import type { Accessory } from '@cacp/ui'
export enum OrderLevel {
  HIGH = 'HIGH',
  NORMAL = 'NORMAL',
  LOW = 'LOW'
}

export interface OrderInfo {
  orderId?: string
  parentId?: string
  userId?: string
  userName?: string
  categoryCode: string
  orderAmount: number
  orderLevel?: string
  createTime?: string
  accessoryList?: Array<Accessory>
}
export interface OrderCategoryInfo {
  categoryCode: string
  categoryName: string
}

export interface OrderQueryInfo {
  keyword: string
  beginDate: string
  endDate: string
  pageIndex: number
  pageSize: number
}
