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

/**
 * 任务
 */
export interface TaskRecord {
  // 任务id
  taskRecordId?: number;
  taskId?: number;
  parentId?: number;
  nickname?: string;
  content?: string;
  files?: string;
  developerId?: number;
  userId?: number;
  sortNumber?: number;
  comments?: string;
  status?: string;
  children?: TaskRecord[];
}

/**
 * 任务搜索条件
 */
export interface TaskRecordParam extends PageParam {
  taskRecordId?: number;
  taskId?: number;
  userId?: number;
  developerId?: number;
}
