import type { PageParam } from '@/api';

/**
 * 订单
 */
export interface OrderGoods {
  // 订单id
  orderGoodsId?: number;
  // 创建时间
  createTime?: string;
  startTime?: string;
  // 状态
  status?: string;
  deliveryStatus?: number;
  // 用户ID
  userId?: any;
  totalNum?: any;
  organizationName?: string;
  nickname?: '';
  breakfastPostUsers?: '';
  breakfastSignUsers?: '';
  lunchPostUsers?: '';
  lunchSignUsers?: '';
  dinnerPostUsers?: '';
  dinnerSignUsers?: '';
}

/**
 * 订单搜索条件
 */
export interface OrderGoodsParam extends PageParam {
  keywords?: string;
  deliveryTime?: string;
  categoryId?: number;
  createTimeStart?: string;
  createTimeEnd?: string;
  deliveryTimeStart?: string;
  deliveryTimeEnd?: string;
  payStatus?: number;
  gear?: number;
  week?: number;
  deliveryStatus?: number;
  organizationId?: number;
  organizationName?: string;
}
