<?php 

namespace NPS\Model;

use NPS\Entity\UserQuestionQueryEntity;


/**
 * Represents a user question query model object
 * @author Lukas Korinek 
 */
final class UserQuestionQuery extends AbstractUserQuery
{

    public function __construct(UserQuestionQueryEntity $entity)
    {
        parent::__construct($entity);
    }

    /**
     * Gets the email address associated with the query
     * @return string
     */
    public function getEmail()
    {
        return $this->entity->email;
    }

}

