mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-22 14:04:21 +00:00
WIP - Order steps & remaining APIs
This commit is contained in:
@@ -15,17 +15,21 @@ class CompanyModuleObject implements DataTransferObject
|
||||
/** @var int|null */
|
||||
private $status;
|
||||
|
||||
/** @var string */
|
||||
private $unity_hash_id;
|
||||
|
||||
/**
|
||||
* CompanyObject constructor.
|
||||
* @param int $companyId
|
||||
* @param int|null $type
|
||||
* @param int|null $status
|
||||
*/
|
||||
public function __construct(int $companyId, int $type, int $status)
|
||||
public function __construct(int $companyId, int $type, int $status, ?string $unity_hash_id)
|
||||
{
|
||||
$this->companyId = $companyId;
|
||||
$this->type = $type;
|
||||
$this->status = $status;
|
||||
$this->unity_hash_id = $unity_hash_id;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,4 +55,12 @@ class CompanyModuleObject implements DataTransferObject
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUnityHashId(): string
|
||||
{
|
||||
return $this->unity_hash_id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user