'litepie', /* * Package. */ 'package' => 'category', /* * Modules. */ 'modules' => ['advertisement'], 'advertisement' => [ 'model' => [ 'model' => \Litepie\Category\Models\Advertisement::class, 'repository' => \Litepie\Category\Repositories\Eloquent\AdvertisementRepository::class, 'table' => 'advertisements', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'client_id', 'category_id', 'type', 'slug', 'title', 'details', 'price', 'images', 'conditions', 'negotiable', 'status', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'category/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' => 'Litepie', 'package' => 'Category', 'module' => 'Advertisement', ], ], ];