"use client"

import { CodeNameMasterPage } from "@/components/hrm/CodeNameMasterPage"
import { designationsApi } from "@/lib/api/hrm-masters"
import { Designation } from "@/types/hrm"

export default function DesignationsPage() {
  return (
    <CodeNameMasterPage<Designation>
      title="Designations"
      description="Job titles — standalone, reusable across departments."
      idOf={(d) => d.designationId}
      api={designationsApi}
    />
  )
}
