<?php
namespace App\Application\Sonata\UserBundle\Entity;
use Sonata\UserBundle\Entity\BaseUser as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* This file has been generated by the SonataEasyExtendsBundle.
*
* @link https://sonata-project.org/easy-extends
*
* References:
* @link http://www.doctrine-project.org/projects/orm/2.0/docs/reference/working-with-objects/en
*/
/**
* User class extends the Sonata\UserBundle\Entity\BaseUser class
*
* @ORM\Table(name="app_users")
* @ORM\Entity
*/
class User extends BaseUser
{
protected $id;
/**
* @ORM\ManyToMany(targetEntity="App\Entity\Sites", mappedBy="user")
*/
private $sites;
/**
* Get id.
*
* @return int $id
*/
public function getId()
{
return $this->id;
}
}