2019-02-08 18:00:10 +01:00

114 lines
1.5 KiB
PHP

<?php
namespace Chill\EventBundle\Entity;
/**
* Role
*/
class Role
{
/**
* @var integer
*/
private $id;
/**
* @var array
*/
private $name;
/**
* @var boolean
*/
private $active;
/**
* @var \Chill\EventBundle\Entity\EventType
*/
private $type;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set label
*
* @param array $label
*
* @return Role
*/
public function setName($label)
{
$this->name = $label;
return $this;
}
/**
* Get label
*
* @return array
*/
public function getName()
{
return $this->name;
}
/**
* Set active
*
* @param boolean $active
*
* @return Role
*/
public function setActive($active)
{
$this->active = $active;
return $this;
}
/**
* Get active
*
* @return boolean
*/
public function getActive()
{
return $this->active;
}
/**
* Set type
*
* @param \Chill\EventBundle\Entity\EventType $type
*
* @return Role
*/
public function setType(EventType $type = null)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return \Chill\EventBundle\Entity\EventType
*/
public function getType()
{
return $this->type;
}
}