'restaurant', /* * Package. */ 'package' => 'discount', /* * Modules. */ 'modules' => ['discount'], 'discount' => [ 'model' => [ 'model' => \Restaurant\Discount\Models\Discount::class, 'table' => 'discounts', 'presenter' => \Restaurant\Discount\Repositories\Presenter\DiscountPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'restaurant_id', 'menu_id', 'discount_percentage', 'active_from', 'active_till', 'status', 'created_at', 'edited_at', 'deleted_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'discount/discount', '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' => 'Restaurant', 'package' => 'Discount', 'module' => 'Discount', ], ], ];