'restaurant', /* * Package. */ 'package' => 'report', /* * Modules. */ 'modules' => ['report'], 'report' => [ 'model' => [ 'model' => \Restaurant\Report\Models\Report::class, 'table' => 'reports', 'presenter' => \Restaurant\Report\Repositories\Presenter\ReportPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'restaurant_id', 'name', 'original_total', 'corrected_total', 'refund_total', 'order_count', 'tip_total', 'foodsales', 'customer_fee', 'eatery_fee', 'postmates', 'orders_date', 'total_visitors', 'total_pageview', 'mobile_view', 'desktop_view', 'visitors_count', 'slug', 'created_at', 'deleted_at', 'updated_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'report/report', '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' => 'Report', 'module' => 'Report', ], ], ];