'classifieds', /* * Package. */ 'package' => 'advertisement', /* * Modules. */ 'modules' => ['advertisement', 'favorite'], 'advertisement' => [ 'model' => [ 'model' => \Classifieds\Advertisement\Models\Advertisement::class, 'table' => 'advertisements', 'presenter' => \Classifieds\Advertisement\Repositories\Presenter\AdvertisementPresenter::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', 'price', 'tags', 'contact_information', 'cotact_status', 'slug', 'status', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'advertisement/advertisement', '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' => 'Advertisement', 'module' => 'Advertisement', ], ], 'favorite' => [ 'model' => [ 'model' => \Classifieds\Advertisement\Models\Favorite::class, 'table' => 'favorites', 'presenter' => \Classifieds\Advertisement\Repositories\Presenter\FavoritePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'user_type', 'advertisement_id', 'slug', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'advertisement/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' => 'Advertisement', 'module' => 'Favorite', ], ], ];