OneSubscriptionQuery.php 1.44 KB
<?php

namespace FootyRoom\Queries\Subscription;

class OneSubscriptionQuery
{
    /**
     * @var int
     */
    protected $subjectId;

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

    /**
     * @var int
     */
    protected $userId;

    /**
     * Gets the value of subjectId.
     *
     * @return int
     */
    public function getSubjectId()
    {
        return $this->subjectId;
    }

    /**
     * Sets the value of subjectId.
     *
     * @param int $subjectId the subject id
     *
     * @return self
     */
    public function subjectId($subjectId)
    {
        $this->subjectId = $subjectId;

        return $this;
    }

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

    /**
     * Sets the value of subjectType.
     *
     * @param string $subjectType the subject type
     *
     * @return self
     */
    public function subjectType($subjectType)
    {
        $this->subjectType = $subjectType;

        return $this;
    }

    /**
     * Gets the value of userId.
     *
     * @return int
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Sets the value of userId.
     *
     * @param int $userId the user id
     *
     * @return self
     */
    public function userId($userId)
    {
        $this->userId = $userId;

        return $this;
    }
}