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