| Current Path : /var/www/v3.cesa.co.za/src/SessionsBundle/Entity/ |
| Current File : /var/www/v3.cesa.co.za/src/SessionsBundle/Entity/SessionTextValues.php |
<?php
namespace App\SessionsBundle\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* SessionTextValues
*
* @ORM\Table(name="session_text_values")
* @ORM\Entity(repositoryClass="App\SessionsBundle\Repository\SessionTextValuesRepository")
*/
class SessionTextValues
{
/**
* @ORM\Id
* @ORM\Column(type="string", unique=true)
* @ORM\GeneratedValue(strategy="CUSTOM")
* @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $value_name;
/**
* @ORM\Column(type="text")
*/
private $value;
/**
* @ORM\ManyToOne(targetEntity="Sessions", inversedBy="session_text_values", cascade={"persist", "remove"})
* @ORM\JoinColumn(name="session_id", referencedColumnName="id")
*/
private $sessions;
/**
* Get id.
*
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Set valueName.
*
* @param string $valueName
*
* @return SessionTextValues
*/
public function setValueName($valueName)
{
$this->value_name = $valueName;
return $this;
}
/**
* Get valueName.
*
* @return string
*/
public function getValueName()
{
return $this->value_name;
}
/**
* Set value.
*
* @param string $value
*
* @return SessionTextValues
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* Get value.
*
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* Set sessions.
*
* @param \SessionsBundle\Entity\Sessions|null $sessions
*
* @return SessionTextValues
*/
public function setSessions(\App\SessionsBundle\Entity\Sessions $sessions = null)
{
$this->sessions = $sessions;
return $this;
}
/**
* Get sessions.
*
* @return \SessionsBundle\Entity\Sessions|null
*/
public function getSessions()
{
return $this->sessions;
}
}