Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/src/CoreBundle/Entity/SequenceValid.php

77 lines
1.3 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class SequenceRule.
*
* @ORM\Table(name="sequence_valid")
* @ORM\Entity
*/
class SequenceValid
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue()
*/
protected $id;
/**
* @ORM\ManyToOne(targetEntity="SequenceVariable")
* @ORM\JoinColumn(name="sequence_variable_id", referencedColumnName="id")
*/
protected $variable;
/**
* @ORM\ManyToOne(targetEntity="SequenceCondition")
* @ORM\JoinColumn(name="sequence_condition_id", referencedColumnName="id")
*/
protected $condition;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
public function getVariable()
{
return $this->variable;
}
/**
* @return SequenceValid
*/
public function setVariable($variable)
{
$this->variable = $variable;
return $this;
}
public function getCondition()
{
return $this->condition;
}
/**
* @return SequenceValid
*/
public function setCondition($condition)
{
$this->condition = $condition;
return $this;
}
}