mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-28 17:04:18 +00:00
Added contract entity, address to Orders
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user