mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
58 lines
1.0 KiB
PHP
58 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Companies\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class CompanyObject implements DataTransferObject
|
|
{
|
|
/** @var string|null */
|
|
private $name;
|
|
|
|
/** @var string|null */
|
|
private $reference;
|
|
|
|
/** @var int */
|
|
private $type;
|
|
|
|
/**
|
|
* CompanyObject constructor.
|
|
* @param string|null $name
|
|
* @param string|null $reference
|
|
* @param string|null $type
|
|
*/
|
|
public function __construct(
|
|
?string $name,
|
|
?string $reference,
|
|
?string $type
|
|
)
|
|
{
|
|
$this->name = $name;
|
|
$this->reference = $reference;
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName(): ?string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getReference(): ?string
|
|
{
|
|
return $this->reference;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getType(): int
|
|
{
|
|
return $this->type;
|
|
}
|
|
} |