mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-21 13:34:00 +00:00
39 lines
681 B
PHP
39 lines
681 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Remarks\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class RemarkObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var int */
|
|
private $commenterID;
|
|
|
|
/** @var string*/
|
|
private $comment;;
|
|
|
|
public function __construct(int $commenterID, string $comment)
|
|
{
|
|
$this->commenterID = $commenterID;
|
|
$this->comment = $comment;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCommenterId(): string
|
|
{
|
|
return $this->commenterID;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getComment(): ?string
|
|
{
|
|
return $this->comment;
|
|
}
|
|
|
|
}
|