"use client";

import { createSportsCenterListPage } from "@/modules/sports-center/components/SportsCenterListCrudPage";
import { sportsCenterApi } from "@/modules/sports-center/services/sports-center-api";

export const ProgressPage = createSportsCenterListPage({
  title: "پیشرفت",
  breadcrumb: "پیشرفت",
  resourceKey: "progressRecords",
  api: sportsCenterApi.progressRecords,
  feature: "training_management",
  createOnly: true,
  columns: [
    {
      "key": "member_id",
      "header": "عضو"
    }
  ],
  createFields: [
    {
      "name": "sports_center_id",
      "label": "شناسه مرکز",
      "required": true
    },
    {
      "name": "member_id",
      "label": "عضو",
      "required": true
    }
  ],
});

export default ProgressPage;
