<?php
declare(strict_types=1);
namespace Slivki\Message\Query\Beauty\Offer;
use Slivki\Messenger\Query\QueryInterface;
final class GetMastersWithFilterQuery implements QueryInterface
{
private int $offerId;
private int $page;
private int $perPage;
public function __construct(int $offerId, int $page, int $perPage)
{
$this->offerId = $offerId;
$this->page = $page;
$this->perPage = $perPage;
}
public function getOfferId(): int
{
return $this->offerId;
}
public function getPage(): int
{
return $this->page;
}
public function getPerPage(): int
{
return $this->perPage;
}
}