This commit introduces the ability to duplicate products and recipes, including handling of associated files and unique naming conventions.
16 lines
312 B
PHP
16 lines
312 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Cqs\Actions\Recipes\Duplicate;
|
|
|
|
use App\Contracts\ActionInput;
|
|
use Domain\Models\ValueObjects\Entities\RecipeId;
|
|
|
|
final readonly class DuplicateRecipeInput implements ActionInput
|
|
{
|
|
public function __construct(
|
|
public RecipeId $recipeId,
|
|
) {
|
|
}
|
|
}
|