ActiveBanQuery.php 1.01 KB
<?php

namespace FootyRoom\Queries\Ban;

class ActiveBanQuery
{
    /**
     * @var string
     */
    protected $entityType;

    /**
     * @var mixed
     */
    protected $entityId;

    /**
     * @var string
     */
    protected $type;

    /**
     * Constructor.
     *
     * @param string $entityType
     * @param mixed $entityId
     * @param string $type
     */
    public function __construct($entityType, $entityId, $type)
    {
        $this->entityType = $entityType;
        $this->entityId = $entityId;
        $this->type = $type;
    }

    /**
     * Gets the value of entityType.
     *
     * @return string
     */
    public function getEntityType()
    {
        return $this->entityType;
    }

    /**
     * Gets the value of entityId.
     *
     * @return mixed
     */
    public function getEntityId()
    {
        return $this->entityId;
    }

    /**
     * Gets the value of type.
     *
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }
}