'litecms', /* * Package. */ 'package' => 'product', /* * Modules. */ 'modules' => ['product'], 'product' => [ 'model' => [ 'model' => \Litecms\Product\Models\Product::class, 'table' => 'products', 'presenter' => \Litecms\Product\Repositories\Presenter\ProductPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['title', 'description', 'features', 'price', 'quantity', 'stock_status', 'product_images', 'status'], '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' => 'Litecms', 'package' => 'Product', 'module' => 'Product', ], ], ];