<?php

namespace NPS\Entity;

use NPS\Entity\UserEntity;
use Doctrine\ORM\Mapping as ORM;

/**
 * User password reset token entity
 * @author Lukas Korinek
 * @ORM\Entity
 */
class PasswordResetTokenEntity extends AbstractTokenEntity
{
    use TCreate;

    /**
     * @ORM\ManyToOne(targetEntity="UserEntity")
     * @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)
     * @var UserEntity
     */
    public $user;

}

