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