'b2buy', /* * Package. */ 'package' => 'cart', /* * Modules. */ 'modules' => ['cart'], 'cart' => [ 'model' => [ 'model' => \B2buy\Cart\Models\Cart::class, 'table' => 'carts', 'presenter' => \B2buy\Cart\Repositories\Presenter\CartPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'instance', 'content', 'total', 'subtotal', 'tax', 'discount', 'count', 'user_id', 'user_type', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'cart/cart', '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' => 'B2buy', 'package' => 'Cart', 'module' => 'Cart', ], ], ];