mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-19 20:43:58 +00:00
46 lines
768 B
PHP
46 lines
768 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Milestones\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class MilestoneObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var int */
|
|
private $projectType;
|
|
|
|
/** @var string */
|
|
private $name;
|
|
|
|
/**
|
|
* MilestoneObject constructor.
|
|
* @param int $projectType
|
|
* @param string $name
|
|
*/
|
|
public function __construct(int $projectType, string $name)
|
|
{
|
|
$this->projectType = $projectType;
|
|
$this->name = $name;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getProjectType(): int
|
|
{
|
|
return $this->projectType;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
|
|
|
|
|
|
} |