backend registration step 1

This commit is contained in:
CheeSiong
2020-10-24 10:31:52 +08:00
parent ec4dc051eb
commit eac5ffda7b
48 changed files with 8960 additions and 4 deletions
@@ -0,0 +1,58 @@
<?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;
}
}