'ebuy', /* * Package. */ 'package' => 'offer', /* * Modules. */ 'modules' => ['offer'], 'offer' => [ 'model' => [ 'model' => \Ebuy\Offer\Models\Offer::class, 'repository' => \Ebuy\Offer\Repositories\Eloquent\OfferRepository::class, 'table' => 'offers', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'offer_name', 'type', 'value'], 'translatables' => [], 'upload_folder' => 'offer/offer', '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' => 'Ebuy', 'package' => 'Offer', 'module' => 'Offer', ], ], ];