'litepie', /* * Package. */ 'package' => 'category', /* * Modules. */ 'modules' => ['category'], 'category' => [ 'model' => [ 'model' => \Litepie\Category\Models\Category::class, 'repository' => \Litepie\Category\Repositories\Eloquent\CategoryRepository::class, 'table' => 'categories', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'user_id', 'parent_id', 'name', 'slug', 'description', 'sort_order', 'image', 'icon', 'upload_folder', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'category/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' => 'Litepie', 'package' => 'Category', 'module' => 'Category', ], ], ];