Files
shipping-portal/app/Classes/Modules/Companies/DataTransferObjects/CompanyModuleObject.php
T
2021-07-08 01:47:58 +08:00

55 lines
993 B
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;
/**
* CompanyObject constructor.
* @param int $companyId
* @param int|null $type
* @param int|null $status
*/
public function __construct(int $companyId, int $type, int $status)
{
$this->companyId = $companyId;
$this->type = $type;
$this->status = $status;
}
/**
* @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;
}
}