// 补货员表单项类型
export interface ReplenisherFormItem {
  id?: number;
  name: string;
  phone?: string;
  employeeId?: string;
  status: number;
  totalTasks?: number;
  boundDeviceCount?: number;
  lastTaskTime?: string;
  createTime?: string;
  statusLabel?: string;
  statusColor?: string;
  wechatOpenid?: string;
}

// 搜索表单类型
export interface ReplenisherSearchForm {
  keyword: string;
  status: number | string;
}

// 门店下设备项（含绑定状态）
export interface ShopDeviceItem {
  deviceId: string;
  name: string;
}

// 门店设备树节点
export interface ShopWithDevices {
  id: number;
  name: string;
  address: string;
  devices: ShopDeviceItem[];
  expanded: boolean;
  loading: boolean;
}
