"use client"

import { CodeNameMasterPage } from "@/components/hrm/CodeNameMasterPage"
import { branchesHrmApi } from "@/lib/api/hrm-masters"
import { Branch } from "@/types/hrm"

export default function BranchesPage() {
  return (
    <CodeNameMasterPage<Branch>
      title="Branches"
      description="Company locations/branches — used for multi-branch employee and payroll scoping."
      idOf={(b) => b.branchId}
      api={branchesHrmApi}
    />
  )
}
