// 概览数据类型
export interface OverviewData {
  totalUsers: number;
  todayNewUsers: number;
  totalOrders: number;
  todayOrders: number;
  totalRevenue: number;
  todayRevenue: number;
  totalDevices: number;
  onlineDevices: number;
  totalShops: number;
  activeShops: number;
}

// 统计数据类型
export interface StatisticsData {
  date: string;
  orders: number;
  revenue: number;
  users: number;
}

// 快捷入口类型
export interface QuickLink {
  id: number;
  title: string;
  icon: string;
  path: string;
  count?: number;
}

// 设备状态类型
export interface DeviceStatus {
  deviceId: string;
  deviceName: string;
  shopName: string;
  status: number;
  lastOnlineTime: string;
  temperature: number;
  doorStatus: number;
}

// 图表数据类型
export interface ChartData {
  xAxis: string[];
  series: {
    name: string;
    data: number[];
  }[];
}
