mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
42 lines
730 B
PHP
42 lines
730 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Vouchers\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class VoucherEntityObject implements DataTransferObject
|
|
{
|
|
/** @var string */
|
|
private $id;
|
|
|
|
/** @var string */
|
|
private $type;
|
|
|
|
/**
|
|
* VoucherEntityObject constructor.
|
|
* @param string $id
|
|
* @param string $type
|
|
*/
|
|
public function __construct(string $id, string $type)
|
|
{
|
|
$this->id = $id;
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId(): string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getType(): string
|
|
{
|
|
return $this->type;
|
|
}
|
|
}
|