'restaurant', /* * Package. */ 'package' => 'table', /* * Modules. */ 'modules' => ['table'], 'table' => [ 'model' => [ 'model' => \Restaurant\Table\Models\Table::class, 'table' => 'tables', 'presenter' => \Restaurant\Table\Repositories\Presenter\TablePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'description', 'restaurant_id', 'created_at', 'updated_at', 'deleted_at', 'user_id', 'user_type', 'PRIMARY', 'id),'], 'translatables' => [], 'upload_folder' => 'table/table', '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' => 'Restaurant', 'package' => 'Table', 'module' => 'Table', ], ], ];