<?php
declare(strict_types=1);
namespace Slivki\Message\Query\Beauty\Offer;
use Slivki\Messenger\Query\QueryInterface;
use Slivki\ValueObject\Coordinate;
final class GetMastersQuery implements QueryInterface
{
private int $offerId;
private ?int $level;
private ?Coordinate $currentUserPosition;
public function __construct(int $offerId, ?int $level, ?Coordinate $currentUserPosition)
{
$this->offerId = $offerId;
$this->level = $level;
$this->currentUserPosition = $currentUserPosition;
}
public function getOfferId(): int
{
return $this->offerId;
}
public function getLevel(): ?int
{
return $this->level;
}
public function getCurrentUserPosition(): ?Coordinate
{
return $this->currentUserPosition;
}
}