"use client"

import { CodeNameMasterPage } from "@/components/hrm/CodeNameMasterPage"
import { employmentTypesApi } from "@/lib/api/hrm-masters"
import { EmploymentType } from "@/types/hrm"

export default function EmploymentTypesPage() {
  return (
    <CodeNameMasterPage<EmploymentType>
      title="Employment Types"
      description="Labor categories — Permanent, Probation, Contract, etc."
      idOf={(e) => e.employmentTypeId}
      api={employmentTypesApi}
    />
  )
}
