<?php

return [

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

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

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

    /*
     * Image size.
     */
    'image'    => [
        'xs' => [
            'width'     => '60',
            'height'    => '45',
            'action'    => 'fit',
            'watermark' => 'img/logo/default.png',
        ],
        'sm' => [
            'width'     => '160',
            'height'    => '120',
            'action'    => 'fit',
            'watermark' => 'img/logo/default.png',
        ],
        'md' => [
            'width'     => '460',
            'height'    => '345',
            'action'    => 'fit',
            'watermark' => 'img/logo/default.png',
        ],
        'lg' => [
            'width'     => '800',
            'height'    => '600',
            'action'    => 'resize',
            'watermark' => 'img/logo/default.png',
        ],
        'xl' => [
            'width'     => '1000',
            'height'    => '750',
            'action'    => 'resize',
            'watermark' => 'img/logo/default.png',
        ],
    ],

    'incidentreporting'       => [
        'model'             => 'Assetdocs\Incidentreporting\Models\Incidentreporting',
        'table'             => 'incidentreportings',
        'presenter'         => \Assetdocs\Incidentreporting\Repositories\Presenter\IncidentreportingItemPresenter::class,
        'hidden'            => [],
        'visible'           => [],
        'guarded'           => ['*'],
        'slugs'             => ['slug' => 'name'],
        'dates'             => ['deleted_at'],
        'appends'           => [],
        'fillable'          => ['user_id', 'upload_folder', 'id',  'division_id',  'asset_id',  'damagepercentage',  'damagedetails',  'status',  'statusdate',  'employee_id',  'externalname',  'externalmobile',  'usedby_id',  'custodian_id',  'asset_type',  'action',  'slug',  'user_id',  'user_type',  'created_at',  'updated_at',  'deleted_at',  'image'],
        'translate'         => ['id',  'division_id',  'asset_id',  'damagepercentage',  'damagedetails',  'status',  'statusdate',  'employee_id',  'externalname',  'externalmobile',  'usedby_id',  'custodian_id',  'asset_type',  'action',  'slug',  'user_id',  'user_type',  'created_at',  'updated_at',  'deleted_at',  'image'],

        'upload-folder'     => '/uploads/incidentreporting/incidentreporting',
        'uploads'           => [
                                    'single'    => [],
                                    'multiple'  => [],
                               ],
        'casts'             => [
                               ],
        'revision'          => [],
        'perPage'           => '20',
        'search'        => [
            'name'  => 'like',
            'status',
        ],
    ],
];