import { FileType } from './Shared';

export interface EmployeeDocument {
  id: string;
  employee_id: string;
  document_type: string;
  title: string;
  file_path: string;
  file_type: string;
  file_size?: number;
  uploaded_by?: string;
  created_at: string;
  updated_at: string;
}

export interface CreateEmployeeDocumentPayload {
  id?: string;
  document_type: string;
  title: string;
  file_path: FileType;
}

export interface UpdateEmployeeDocumentPayload {
  employee_id?: string;
  id?: string;
  document_type?: string;
  title?: string;
  file_path?: FileType;
}

export interface DeleteEmployeeDocumentPayload {
  employee_id: string;
  document_id: string;
}

export interface DeleteEmployeeDocumentResponse {
  message: string;
  id?: string;
}
