'litecms', /* * Package. */ 'package' => 'product', /* * Modules. */ 'modules' => ['product', 'category', 'catalog'], 'product' => [ 'model' => [ 'model' => \Litecms\Product\Models\Product::class, 'repository' => \Litecms\Product\Repositories\Eloquent\ProductRepository::class, 'table' => 'products', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'slug', 'price', 'size', 'external_link', 'image', 'date_published', 'status', 'user_id', 'category'], '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', ], ], 'category' => [ 'model' => [ 'model' => \Litecms\Product\Models\Category::class, 'repository' => \Litecms\Product\Repositories\Eloquent\CategoryRepository::class, 'table' => 'categories', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'status', 'slug', 'user_id'], 'translatables' => [], 'upload_folder' => 'product/category', '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' => 'Category', ], ], 'catalog' => [ 'model' => [ 'model' => \Litecms\Product\Models\Catalog::class, 'repository' => \Litecms\Product\Repositories\Eloquent\CatalogRepository::class, 'table' => 'catalogs', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['name', 'description', 'image', 'slug', 'user_id'], 'translatables' => [], 'upload_folder' => 'product/catalog', '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' => 'Catalog', ], ], ];