'classifieds', /* * Package. */ 'package' => 'advertising', /* * Modules. */ 'modules' => ['advertising', 'favorite'], 'advertising' => [ 'model' => [ 'model' => \Classifieds\Advertising\Models\Advertising::class, 'table' => 'advertisings', 'presenter' => \Classifieds\Advertising\Repositories\Presenter\AdvertisingPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'category_id', 'sub_category_id', 'state_id', 'city_id', 'user_id', 'user_type', 'name', 'description', 'images', 'data', 'status', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'advertising/advertising', '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' => 'Classifieds', 'package' => 'Advertising', 'module' => 'Advertising', ], ], 'favorite' => [ 'model' => [ 'model' => \Classifieds\Advertising\Models\Favorite::class, 'table' => 'favorites', 'presenter' => \Classifieds\Advertising\Repositories\Presenter\FavoritePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'product_id', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'advertising/favorite', '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' => 'Classifieds', 'package' => 'Advertising', 'module' => 'Favorite', ], ], ];