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