114 lines
1.5 KiB
PHP

<?php
namespace Chill\EventBundle\Entity;
/**
* Role
*/
class Role
{
/**
* @var integer
*/
private $id;
/**
* @var array
*/
private $label;
/**
* @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 setLabel($label)
{
$this->label = $label;
return $this;
}
/**
* Get label
*
* @return array
*/
public function getLabel()
{
return $this->label;
}
/**
* 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(\Chill\EventBundle\Entity\EventType $type = null)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return \Chill\EventBundle\Entity\EventType
*/
public function getType()
{
return $this->type;
}
}