'litecms', /* * Package. */ 'package' => 'exchangeorder', /* * Modules. */ 'modules' => ['exchangeorder'], 'exchangeorder' => [ 'model' => [ 'model' => \Litecms\Exchangeorder\Models\Exchangeorder::class, 'table' => 'exchangeorders', 'presenter' => \Litecms\Exchangeorder\Repositories\Presenter\ExchangeorderPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['user_id', 'price', 'amount', 'total', 'fee', 'order_type', 'blockchain', 'trans_datetime', 'status', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'exchangeorder/exchangeorder', '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' => 'Exchangeorder', 'module' => 'Exchangeorder', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "Exchangeorder created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "Exchangeorder completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "Exchangeorder verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "Exchangeorder approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "Exchangeorder published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "Exchangeorder unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "Exchangeorder archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "Exchangeorder deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];