import { TaxReliefCategory } from './TaxReliefCategory';

export interface EmployeeTaxRelief {
  id: string;
  employee_id: string;
  tax_relief_category_id: string;
  annual_amount: string;
  monthly_amount: string;
  tax_year: number;
  employee?: {
    employee_id: string;
    firstname: string;
    lastname: string;
    full_name: string;
    staff_id: string;
  };
  tax_relief_category?: TaxReliefCategory;
  created_at: string;
  updated_at: string;
}

export interface CreateEmployeeTaxReliefPayload {
  employee_id: string;
  tax_relief_category_id: string;
  annual_amount: number;
  tax_year: number;
}

export interface UpdateEmployeeTaxReliefPayload {
  id: string;
  annual_amount?: number;
  tax_year?: number;
}

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