'news', /* * Package. */ 'package' => 'news', /* * Modules. */ 'modules' => ['news'], 'news' => [ 'model' => [ 'model' => \News\News\Models\News::class, 'table' => 'news', 'presenter' => \News\News\Repositories\Presenter\NewsPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['title', 'description', 'created_by', 'user_id', 'user_type', 'status', 'slug'], 'translatables' => [], 'upload_folder' => 'news/news', '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' => 'News', 'package' => 'News', 'module' => 'News', ], ], ];