'location', /* * Package. */ 'package' => 'location', /* * Modules. */ 'modules' => ['location'], 'location' => [ 'model' => [ 'model' => \Location\Location\Models\Location::class, 'table' => 'locations', 'presenter' => \Location\Location\Repositories\Presenter\LocationPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'parent_id', 'nest_left', 'nest_right', 'nest_depth', 'name', 'description', 'type', 'latitude', 'longitude', 'slug', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'location/location', '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' => 'Location', 'package' => 'Location', 'module' => 'Location', ], ], ];