First commit

This commit is contained in:
Marc Ducobu
2014-09-09 10:46:05 +02:00
parent 6521dd5e2b
commit 9f3d89380d
78 changed files with 5766 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
<?php
namespace CL\CustomFieldsBundle\Entity;
/**
* CustomField
*/
class CustomField
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $label;
/**
* @var string
*/
private $type;
/**
* @var boolean
*/
private $active;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set label
*
* @param string $label
*
* @return CustomField
*/
public function setLabel($label)
{
$this->label = $label;
return $this;
}
/**
* Get label
*
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Set type
*
* @param string $type
*
* @return CustomField
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Get type
*
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Set active
*
* @param boolean $active
*
* @return CustomField
*/
public function setActive($active)
{
$this->active = $active;
return $this;
}
/**
* Get active
*
* @return boolean
*/
public function getActive()
{
return $this->active;
}
}