WIP - Order steps & remaining APIs

This commit is contained in:
Fairuz
2021-07-22 16:53:52 +08:00
parent 3dfa087831
commit d87c4f7df4
14 changed files with 211 additions and 32 deletions
@@ -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;
}
}