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

/**
 * 统计
 */
export interface TaskCount {
  // 统计id
  taskCountId?: number;
  userId?: number;
  nickname?: string;
  avatar?: string;
  phone?: string;
  pending?: number;
  unused?: number;
  today?: number;
  month?: number;
  year?: number;
  total?: number;
  commander?: number;
  createTime?: string;
  updateTime?: string;
}

/**
 * 统计搜索条件
 */
export interface TaskCountParam extends PageParam {
  taskCountId?: number;
  userId?: number;
  roleId?: number;
  roleCode?: string;
}
