mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
67 lines
1.2 KiB
PHP
67 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Companies\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class CompanyModuleObject implements DataTransferObject
|
|
{
|
|
/** @var int */
|
|
private $companyId;
|
|
|
|
/** @var int|null */
|
|
private $type;
|
|
|
|
/** @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, ?string $unity_hash_id)
|
|
{
|
|
$this->companyId = $companyId;
|
|
$this->type = $type;
|
|
$this->status = $status;
|
|
$this->unity_hash_id = $unity_hash_id;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCompanyId(): int
|
|
{
|
|
return $this->companyId;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getType(): int
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getStatus(): int
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUnityHashId(): string
|
|
{
|
|
return $this->unity_hash_id;
|
|
}
|
|
}
|