. */ namespace SP\DataModel\Dto; /** * Class AccountHistoryCreateDto * * @package SP\DataModel\Dto */ class AccountHistoryCreateDto { /** * @var int */ private $accountId; /** * @var bool */ private $isModify; /** * @var bool */ private $isDelete; /** * @var string */ private $masterPassHash; /** * AccountHistoryCreateDto constructor. * * @param int $accountId * @param bool $isModify * @param bool $isDelete * @param string $masterPassHash */ public function __construct(int $accountId, bool $isModify, bool $isDelete, string $masterPassHash) { $this->accountId = $accountId; $this->isModify = $isModify; $this->isDelete = $isDelete; $this->masterPassHash = $masterPassHash; } /** * @return int */ public function getAccountId(): int { return $this->accountId; } /** * @return bool */ public function isModify(): bool { return $this->isModify; } /** * @return bool */ public function isDelete(): bool { return $this->isDelete; } /** * @return string */ public function getMasterPassHash(): string { return $this->masterPassHash; } }