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