Implement GetProductIncoForEditQuery, its input and output classes to handle product INCO data retrieval. Update ProductIncosController to utilize the new query for editing product INCOs. Add tests for GetProductIncoForEditQuery to ensure correct behavior.
16 lines
319 B
PHP
16 lines
319 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Cqs\Queries\ProductIncos;
|
|
|
|
use App\Contracts\QueryInput;
|
|
use Domain\Models\ValueObjects\Entities\ProductId;
|
|
|
|
final readonly class GetProductIncoForEditQueryInput implements QueryInput
|
|
{
|
|
public function __construct(
|
|
public ProductId $productId,
|
|
) {
|
|
}
|
|
}
|