equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 namespace Company\UserBundle\Entity; |
|
4 |
|
5 use FOS\UserBundle\Entity\User as BaseUser; |
|
6 use Doctrine\ORM\Mapping as ORM; |
|
7 |
|
8 /** |
|
9 * Company\UserBundle\Entity\User |
|
10 * |
|
11 * @ORM\Table(name="fos_user") |
|
12 * @ORM\Entity |
|
13 */ |
|
14 class User extends BaseUser |
|
15 { |
|
16 /** |
|
17 * @var integer $id |
|
18 * |
|
19 * @ORM\Column(name="id", type="integer") |
|
20 * @ORM\Id |
|
21 * @ORM\GeneratedValue(strategy="AUTO") |
|
22 */ |
|
23 protected $id; |
|
24 |
|
25 |
|
26 /** |
|
27 * Get id |
|
28 * |
|
29 * @return integer |
|
30 */ |
|
31 public function getId() |
|
32 { |
|
33 return $this->id; |
|
34 } |
|
35 |
|
36 /** |
|
37 * The constructor |
|
38 * Enter description here ... |
|
39 */ |
|
40 public function __construct() |
|
41 { |
|
42 parent::__construct(); |
|
43 } |
|
44 } |