'litecms', /* * Package. */ 'package' => 'kitchen_blog', /* * Modules. */ 'modules' => ['kitchen', 'kitchen_category', 'kitchen_comment', 'kitchen_tag'], 'kitchen' => [ 'model' => [ 'model' => \Litecms\KitchenBlog\Models\Kitchen::class, 'table' => 'kitchens', 'presenter' => \Litecms\KitchenBlog\Repositories\Presenter\KitchenPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'category_id', 'title', 'caption', 'description', 'images', 'tags', 'viewcount', 'slug', 'meta_title', 'meta_description', 'meta_keyword', 'published', 'published_at', 'user_type', 'user_id', 'upload_folder', 'deleted_at', 'created_at', 'updated_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'kitchen_blog/kitchen', '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' => 'KitchenBlog', 'module' => 'Kitchen', ], ], 'kitchen_category' => [ 'model' => [ 'model' => \Litecms\KitchenBlog\Models\KitchenCategory::class, 'table' => 'kitchen_categories', 'presenter' => \Litecms\KitchenBlog\Repositories\Presenter\KitchenCategoryPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'status', 'user_type', 'user_id', 'upload_folder', 'deleted_at', 'created_at', 'updated_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'kitchen_blog/kitchen_category', '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' => 'KitchenBlog', 'module' => 'KitchenCategory', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "KitchenCategory created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "KitchenCategory completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "KitchenCategory verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "KitchenCategory approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "KitchenCategory published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "KitchenCategory unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "KitchenCategory archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "KitchenCategory deleted", 'status' => ['delete', 'archive'], ], ], ], ], 'kitchen_comment' => [ 'model' => [ 'model' => \Litecms\KitchenBlog\Models\KitchenComment::class, 'table' => 'kitchen_comments', 'presenter' => \Litecms\KitchenBlog\Repositories\Presenter\KitchenCommentPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'comment', 'author', 'email', 'mobile', 'slug', 'published', 'user_id', 'user_type', 'kitchen_id', 'deleted_at', 'created_at', 'updated_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'kitchen_blog/kitchen_comment', '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' => 'KitchenBlog', 'module' => 'KitchenComment', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "KitchenComment created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "KitchenComment completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "KitchenComment verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "KitchenComment approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "KitchenComment published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "KitchenComment unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "KitchenComment archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "KitchenComment deleted", 'status' => ['delete', 'archive'], ], ], ], ], 'kitchen_tag' => [ 'model' => [ 'model' => \Litecms\KitchenBlog\Models\KitchenTag::class, 'table' => 'kitchen_tags', 'presenter' => \Litecms\KitchenBlog\Repositories\Presenter\KitchenTagPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'frequency', 'slug', 'status', 'deleted_at', 'created_at', 'updated_at', 'PRIMARY'], 'translatables' => [], 'upload_folder' => 'kitchen_blog/kitchen_tag', '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' => 'KitchenBlog', 'module' => 'KitchenTag', ], 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "KitchenTag created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "KitchenTag completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "KitchenTag verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "KitchenTag approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "KitchenTag published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "KitchenTag unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "KitchenTag archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "KitchenTag deleted", 'status' => ['delete', 'archive'], ], ], ], ], ];