for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
#[ORM\Table(name: 'sequence_variable')]
#[ORM\Entity]
class SequenceVariable
{
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue]
protected ?int $id = null;
#[Assert\NotBlank]
#[ORM\Column(name: 'title', type: 'string', nullable: true)]
protected ?string $title = null;
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
protected ?string $description = null;
#[ORM\Column(name: 'default_val', type: 'string', nullable: true)]
protected ?string $defaultValue = null;
/**
* Get id.
*
* @return int
*/
public function getId()
return $this->id;
}
* @return string
public function getTitle()
return $this->title;
public function setTitle(string $title): self
$this->title = $title;
return $this;
public function getDefaultValue()
return $this->defaultValue;
public function setDefaultValue(string $defaultValue): self
$this->defaultValue = $defaultValue;
public function getDescription()
return $this->description;
public function setDescription(string $description): self
$this->description = $description;