'realestate', /* * Package. */ 'package' => 'category', /* * Modules. */ 'modules' => ['category'], 'category' => [ 'model' => [ 'model' => \Realestate\Category\Models\Category::class, 'table' => 'categories', 'presenter' => \Realestate\Category\Repositories\Presenter\CategoryPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'parent_id', 'name', 'description', 'slug', 'status', 'deleted_at', 'updated_at', 'created_at'], 'translatables' => [], 'upload_folder' => 'category/category', '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' => 'Realestate', 'package' => 'Category', 'module' => 'Category', ], ], ];