<?php
/*
* This file is part of the Knitink Project package.
*
* Created by Globunet on 15/07/16. <info@globunet.com>
* Copyright (c) 2016 Knitink Technologies, SL. All rights reserved.
*
*/
namespace Knitink\CoreBundle\Entity;
use Globunet\UserBundle\Entity\BaseGroup as GlobunetGroup;
use Globunet\UserBundle\Model\GroupInterface as GlobunetGroupInterface;
use Knitink\ManagementBundle\Entity\Client;
class Group extends GlobunetGroup implements GlobunetGroupInterface{
/**
* Default Cliente
*
* @var Client
*/
protected $client;
private $admin;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set client
*
* @param \Knitink\ManagementBundle\Entity\Client $client
*
* @return User
*/
public function setClient(\Knitink\ManagementBundle\Entity\Client $client = null)
{
$this->client = $client;
return $this;
}
/**
* Get client
*
* @return \Knitink\ManagementBundle\Entity\Client
*/
public function getClient()
{
return $this->client;
}
public function getAdmin(): ?bool
{
return $this->admin;
}
public function setAdmin(bool $admin): self
{
$this->admin = $admin;
return $this;
}
}