19 lines
363 B
PHP
19 lines
363 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Sales\Application\DTOs;
|
|
|
|
/**
|
|
* A quick sale order sent to production: its id, the day's pickup number
|
|
* and the total with VAT.
|
|
*/
|
|
final readonly class OrderResult
|
|
{
|
|
public function __construct(
|
|
public int $orderId,
|
|
public int $pickupNumber,
|
|
public int $totalCents,
|
|
) {}
|
|
}
|