'testprovider', /* * Package. */ 'package' => 'testpackage', /* * Modules. */ 'modules' => ['trainingmodel'], 'trainingmodel' => [ 'model' => [ 'model' => \Testprovider\Testpackage\Models\Trainingmodel::class, 'table' => 'trainingmodels', 'presenter' => \Testprovider\Testpackage\Repositories\Presenter\TrainingmodelPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['pts_id', 'pts_ref', 'pts_title'], 'translatables' => [], 'upload_folder' => 'testpackage/trainingmodel', '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' => 'Testprovider', 'package' => 'Testpackage', 'module' => 'Trainingmodel', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Trainingmodel created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Trainingmodel completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Trainingmodel verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Trainingmodel approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Trainingmodel published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Trainingmodel unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Trainingmodel archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Trainingmodel deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];