"use client";

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

export const LockersPage = createSportsCenterListPage({
  title: "کمدها",
  breadcrumb: "کمدها",
  resourceKey: "lockers",
  api: sportsCenterApi.lockers,
  columns: [
    {
      "key": "code",
      "header": "کد"
    },
    {
      "key": "status",
      "header": "وضعیت",
      "type": "status"
    }
  ],
  createFields: [
    {
      "name": "sports_center_id",
      "label": "شناسه مرکز",
      "required": true
    },
    {
      "name": "locker_room_id",
      "label": "رختکن",
      "required": true
    },
    {
      "name": "code",
      "label": "کد",
      "required": true
    }
  ],
});

export default LockersPage;
