<script setup>
import VnCard from 'components/common/VnCard.vue';
import ParkingDescriptor from 'pages/Parking/Card/ParkingDescriptor.vue';

const filter = {
    fields: ['id', 'sectorFk', 'code', 'pickingOrder', 'row', 'column'],
    include: [{ relation: 'sector', scope: { fields: ['id', 'description'] } }],
};
</script>
<template>
    <VnCard
        data-key="Parking"
        base-url="Parkings"
        :filter="filter"
        :descriptor="ParkingDescriptor"
        searchbar-data-key="ParkingList"
        searchbar-url="Parkings"
        searchbar-label="parking.searchBar.label"
        searchbar-info="parking.searchBar.info"
    />
</template>
