mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-08 08:19:33 +00:00
619cc45359
symfony-upgrade-fixer fix src/Wallabag/
32 lines
617 B
PHP
32 lines
617 B
PHP
<?php
|
|
|
|
namespace Wallabag\ApiBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use FOS\OAuthServerBundle\Entity\RefreshToken as BaseRefreshToken;
|
|
|
|
/**
|
|
* @ORM\Table("oauth2_refresh_tokens")
|
|
* @ORM\Entity
|
|
*/
|
|
class RefreshToken extends BaseRefreshToken
|
|
{
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\Column(type="integer")
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="Client")
|
|
* @ORM\JoinColumn(nullable=false)
|
|
*/
|
|
protected $client;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User")
|
|
*/
|
|
protected $user;
|
|
}
|