'project', /* * Package. */ 'package' => 'role', /* * Modules. */ 'modules' => ['workflow', 'role', 'permission', 'label'], 'workflow' => [ 'model' => [ 'model' => \Project\Role\Models\Workflow::class, 'table' => 'workflows', 'presenter' => \Project\Role\Repositories\Presenter\WorkflowPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'start_stage', 'end_stage', 'stages', 'transissions', 'user_id', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'role/workflow', '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' => 'Project', 'package' => 'Role', 'module' => 'Workflow', ], ], 'role' => [ 'model' => [ 'model' => \Project\Role\Models\Role::class, 'table' => 'roles', 'presenter' => \Project\Role\Repositories\Presenter\RolePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'description', 'level', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'role/role', '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' => 'Project', 'package' => 'Role', 'module' => 'Role', ], ], 'permission' => [ 'model' => [ 'model' => \Project\Role\Models\Permission::class, 'table' => 'permissions', 'presenter' => \Project\Role\Repositories\Presenter\PermissionPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'description', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'role/permission', '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' => 'Project', 'package' => 'Role', 'module' => 'Permission', ], ], 'label' => [ 'model' => [ 'model' => \Project\Role\Models\Label::class, 'table' => 'labels', 'presenter' => \Project\Role\Repositories\Presenter\LabelPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'type', 'name', 'slug', 'created_by', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'role/label', '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' => 'Project', 'package' => 'Role', 'module' => 'Label', ], ], ];