~tsep-dev/tsep/tsep2

« back to all changes in this revision

Viewing changes to src/TSEP/Bundle/AdminBundle/Entity/User.php

  • Committer: xaav
  • Date: 2011-09-27 01:31:36 UTC
  • Revision ID: git-v1:3c3f2e8d21ccd506f3cd12b2650591f6532368fb
First commit'

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
namespace TSEP\Bundle\AdminBundle\Entity;
 
4
 
 
5
use Doctrine\ORM\Mapping as ORM;
 
6
use FOS\UserBundle\Entity\User as BaseUser;
 
7
 
 
8
/**
 
9
 * TSEP\Bundle\AdminBundle\Entity\User
 
10
 *
 
11
 * @ORM\Table()
 
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
}
 
 
b'\\ No newline at end of file'