initialize entities

This commit is contained in:
2016-03-18 11:22:09 +01:00
parent f3b00ac69b
commit 11d58a457a
10 changed files with 800 additions and 0 deletions

113
Entity/Role.php Normal file
View File

@@ -0,0 +1,113 @@
<?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;
}
}