'litecms', /* * Package. */ 'package' => 'master', /* * Modules. */ 'modules' => ['master'], 'master' => [ 'model' => [ 'model' => \Litecms\Master\Models\Master::class, 'table' => 'masters', 'presenter' => \Litecms\Master\Repositories\Presenter\MasterPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'price'], 'translatables' => [], 'upload_folder' => 'master/master', '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' => 'Litecms', 'package' => 'Master', 'module' => 'Master', ], ], ];