'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', 'user_id', 'user_type', 'restaurant_id', 'menu_id', 'discount_percentage', 'start_date', 'end_date', 'status', 'notification_status', 'created_at', 'updated_at', 'deleted_at'], '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', ], ], ];