Files
shipping-portal/app/Classes/Modules/Orders/DataTransferObjects/OrderRoleObject.php
T
2021-08-03 01:18:34 +08:00

47 lines
989 B
PHP

<?php
namespace App\Classes\Modules\Orders\DataTransferObjects;
use App\Classes\General\Interfaces\DataTransferObject;
class OrderRoleObject implements DataTransferObject
{
private $order_id;
private $company_module_id;
private $role_hash_id;
private $role_signature;
public function __construct(int $order_id, int $company_module_id, ?string $role_hash_id, ?string $role_signature)
{
$this->order_id = $order_id;
$this->company_module_id = $company_module_id;
$this->role_hash_id = $role_hash_id;
$this->role_signature = $role_signature;
}
public function getOrderId(): int
{
return $this->order_id;
}
public function getCompanyModuleId(): int
{
return $this->company_module_id;
}
public function getRoleHashId(): ?string
{
return $this->role_hash_id;
}
public function getRoleSignature(): ?string
{
return $this->role_signature;
}
}