'classifieds', /* * Package. */ 'package' => 'product', /* * Modules. */ 'modules' => ['product'], 'product' => [ 'model' => [ 'model' => \Classifieds\Product\Models\Product::class, 'table' => 'products', 'presenter' => \Classifieds\Product\Repositories\Presenter\ProductPresenter::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' => 'product/product', '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' => 'Product', 'module' => 'Product', ], ], ];