'bixo', /* * Package. */ 'package' => 'onboarding', /* * Modules. */ 'modules' => ['onboarding'], 'onboarding' => [ 'model' => [ 'model' => \Bixo\Onboarding\Models\Onboarding::class, 'table' => 'onboardings', 'presenter' => \Bixo\Onboarding\Repositories\Presenter\OnboardingPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'email', 'phone', 'department_id', 'manager_id', 'resume', 'schedule_date', 'salary', 'probation', 'designation', 'status', 'user_id', 'user_type', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'onboarding/onboarding', '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' => 'Bixo', 'package' => 'Onboarding', 'module' => 'Onboarding', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Onboarding created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Onboarding completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Onboarding verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Onboarding approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Onboarding published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Onboarding unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Onboarding archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Onboarding deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];