<?php

/**
 * @Entity(repositoryClass="TempOtpRepository") @Table(name="temp_otp")
 */

class TempOtp
{
    /**
     * @Id @GeneratedValue @Column(type="integer")
     */
    protected $id;

    /**
     * @Column(type="string", length=60)
     */
    protected $email;

    /**
     * @Column(type="string", length=10)
     */
    protected $otp;



    /**
     * Get id.
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set email.
     *
     * @param string $email
     *
     * @return TempOtp
     */
    public function setEmail($email)
    {
        $this->email = $email;

        return $this;
    }

    /**
     * Get email.
     *
     * @return string
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * Set otp.
     *
     * @param string $otp
     *
     * @return TempOtp
     */
    public function setOtp($otp)
    {
        $this->otp = $otp;

        return $this;
    }

    /**
     * Get otp.
     *
     * @return string
     */
    public function getOtp()
    {
        return $this->otp;
    }
}
