'review', /* * Package. */ 'package' => 'review', /* * Modules. */ 'modules' => ['review'], 'review' => [ 'model' => [ 'model' => \Review\Review\Models\Review::class, 'table' => 'reviews', 'presenter' => \Review\Review\Repositories\Presenter\ReviewPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['user_id', 'description', 'activity_id', 'stars'], 'translatables' => [], 'upload_folder' => 'review/review', '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' => 'Review', 'package' => 'Review', 'module' => 'Review', ], ], ];