parent
86b16a2774
commit
7c26a8bb69
@ -0,0 +1,32 @@ |
||||
<?php |
||||
|
||||
namespace Application\Sonata\UserBundle\Entity; |
||||
|
||||
use Sonata\UserBundle\Entity\BaseGroup as BaseGroup; |
||||
use Doctrine\ORM\Mapping as ORM; |
||||
|
||||
/** |
||||
* @ORM\Entity(repositoryClass="Application\Sonata\UserBundle\Repository\GroupRepository") |
||||
* @ORM\Table(name="fos_group") |
||||
*/ |
||||
class Group extends BaseGroup |
||||
{ |
||||
/** |
||||
* @var integer |
||||
* |
||||
* @ORM\Column(name="id", type="integer") |
||||
* @ORM\Id |
||||
* @ORM\GeneratedValue(strategy="AUTO") |
||||
*/ |
||||
protected $id; |
||||
|
||||
/** |
||||
* Get id |
||||
* |
||||
* @return integer $id |
||||
*/ |
||||
public function getId() |
||||
{ |
||||
return $this->id; |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,18 @@ |
||||
<?php |
||||
|
||||
namespace Application\Sonata\UserBundle\Repository; |
||||
|
||||
use Doctrine\ORM\EntityRepository; |
||||
use Doctrine\ORM\NoResultException; |
||||
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
||||
use Symfony\Component\Security\Core\Exception\UnsupportedUserException; |
||||
use Application\Sonata\UserBundle\Entity\User as User; |
||||
|
||||
/** |
||||
* Class UserRepository |
||||
* @package Entity\Repository |
||||
*/ |
||||
class GroupRepository extends EntityRepository |
||||
{ |
||||
|
||||
} |
Loading…
Reference in new issue