src/Knitink/CoreBundle/Entity/Group.php line 17

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Knitink Project package.
  4.  *
  5.  * Created by Globunet on 15/07/16. <info@globunet.com>
  6.  * Copyright (c) 2016 Knitink Technologies, SL. All rights reserved.
  7.  *
  8.  */
  9. namespace Knitink\CoreBundle\Entity;
  10. use Globunet\UserBundle\Entity\BaseGroup as GlobunetGroup;
  11. use Globunet\UserBundle\Model\GroupInterface as GlobunetGroupInterface;
  12. use Knitink\ManagementBundle\Entity\Client;
  13. class Group extends GlobunetGroup implements GlobunetGroupInterface{
  14.     
  15.     /**
  16.      * Default Cliente
  17.      * 
  18.      * @var Client
  19.      */
  20.     protected $client;
  21.     private $admin;
  22.     /**
  23.      * Get id
  24.      *
  25.      * @return integer
  26.      */
  27.     public function getId()
  28.     {
  29.         return $this->id;
  30.     }
  31.     /**
  32.      * Set client
  33.      *
  34.      * @param \Knitink\ManagementBundle\Entity\Client $client
  35.      *
  36.      * @return User
  37.      */
  38.     public function setClient(\Knitink\ManagementBundle\Entity\Client $client null)
  39.     {
  40.         $this->client $client;
  41.         return $this;
  42.     }
  43.     /**
  44.      * Get client
  45.      *
  46.      * @return \Knitink\ManagementBundle\Entity\Client
  47.      */
  48.     public function getClient()
  49.     {
  50.         return $this->client;
  51.     }
  52.     public function getAdmin(): ?bool
  53.     {
  54.         return $this->admin;
  55.     }
  56.     public function setAdmin(bool $admin): self
  57.     {
  58.         $this->admin $admin;
  59.         return $this;
  60.     }
  61. }