'litecms', /* * Package. */ 'package' => 'task', /* * Modules. */ 'modules' => ['task'], 'task' => [ 'model' => [ 'model' => \Litecms\Task\Models\Task::class, 'repository' => \Litecms\Task\Repositories\Eloquent\TaskRepository::class, 'table' => 'tasks', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => [], 'translatables' => [], 'upload_folder' => 'task/task', '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' => 'Task', 'module' => 'Task', ], ], ];