mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
24 lines
442 B
PHP
24 lines
442 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Rules\DataTransferObjects;
|
|
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class CheckTransferPeriodLockRuleVariant2DTO implements DataTransferObject
|
|
{
|
|
public int $bookingId;
|
|
|
|
public function __construct(array $data)
|
|
{
|
|
$this->bookingId = $data['id'];
|
|
}
|
|
|
|
public function toArray(): array
|
|
{
|
|
return [
|
|
'id' => $this->bookingId,
|
|
];
|
|
}
|
|
}
|