<?php

return [

    /**
     * Provider.
     */
    'provider'  => 'onboard',

    /*
     * Package.
     */
    'package'   => 'onboard',

    /*
     * Modules.
     */
    'modules'   => ['onboard'],

    
    'onboard'       => [
        'model' => [
            'model' => \Onboard\Onboard\Models\Onboard::class,
            'repository' => \Onboard\Onboard\Repositories\Eloquent\OnboardRepository::class,
            'table' => 'onboards',
            'hidden'=> [],
            'visible' => [],
            'guarded' => ['*'],
            'slugs' => ['slug' => 'name'],
            'dates' => ['deleted_at', 'createdat', 'updated_at'],
            'appends' => [],
            'fillable' => [],
            'translatables' => [],
            'upload_folder' => 'onboard/onboard',
            'uploads' => [
            /*
                    'images' => [
                        'count' => 10,
                        'type'  => 'image',
                    ],
                    'file' => [
                        'count' => 1,
                        'type'  => 'file',
                    ],
            */
            ],

            'casts' => [
            /*
                'images'    => 'array',
                'file'      => 'array',
            */
            ],

            'revision' => [],
            'perPage' => '20',
            'search'        => [
                'name'  => 'like',
                'status',
            ]
        ],

        'controller' => [
            'provider' => 'Onboard',
            'package' => 'Onboard',
            'module' => 'Onboard',
        ],
    ],
];