'restaurant', /* * Package. */ 'package' => 'invoice', /* * Modules. */ 'modules' => ['invoice'], 'invoice' => [ 'model' => [ 'model' => \Restaurant\Invoice\Models\Invoice::class, 'table' => 'invoices', 'presenter' => \Restaurant\Invoice\Repositories\Presenter\InvoicePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'price', 'description', 'restaurant_id', 'date', 'created_at', 'updated_at', 'deleted_at', 'user_id', 'user_type', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'invoice/invoice', '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' => 'Invoice', 'module' => 'Invoice', ], ], ];