'lavalite', /* * Package. */ 'package' => 'product', /* * Modules. */ 'modules' => ['product'], 'product' => [ 'model' => [ 'model' => \Lavalite\Product\Models\Product::class, 'table' => 'products', 'presenter' => \Lavalite\Product\Repositories\Presenter\ProductPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'user_type', 'name', 'title', 'slug', 'subtitle', 'description', 'meta_title', 'meta_description', 'meta_tags', 'meta_subtitle', 'highlights', 'images', 'demo_screenshots', 'published', 'status', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'product/product', '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' => 'Lavalite', 'package' => 'Product', 'module' => 'Product', ], ], ];