mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 20:44:25 +00:00
59 lines
979 B
PHP
59 lines
979 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Wallets\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class WalletObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var int */
|
|
private $company_id;
|
|
|
|
/** @var int */
|
|
private $currency_id;
|
|
|
|
/** @var int */
|
|
private $code;
|
|
|
|
/**
|
|
* WalletObject constructor.
|
|
* @param int $company_id
|
|
* @param int $currency
|
|
* @param int $code
|
|
*/
|
|
public function __construct(int $company_id, int $currency, int $code)
|
|
{
|
|
$this->company_id = $company_id;
|
|
$this->currency_id = $currency;
|
|
$this->code = $code;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCompanyId(): int
|
|
{
|
|
return $this->company_id;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCurrency(): int
|
|
{
|
|
return $this->currency_id;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCode(): int
|
|
{
|
|
return $this->code;
|
|
}
|
|
|
|
|
|
|
|
|
|
} |