3 namespace Wallabag\ApiBundle\Entity
;
5 use Doctrine\ORM\Mapping
as ORM
;
6 use FOS\OAuthServerBundle\Entity\RefreshToken
as BaseRefreshToken
;
9 * @ORM\Table("oauth2_refresh_tokens")
12 class RefreshToken
extends BaseRefreshToken
16 * @ORM\Column(type="integer")
17 * @ORM\GeneratedValue(strategy="AUTO")
22 * @ORM\ManyToOne(targetEntity="Client", inversedBy="refreshTokens")
23 * @ORM\JoinColumn(nullable=false)
28 * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User")