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/Chamilo/CoreBundle/Entity/SequenceFormula.php

86 lines
1.4 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class SequenceFormula.
*
* @ORM\Table(name="sequence_formula")
* @ORM\Entity
*/
class SequenceFormula
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue()
*/
protected $id;
/**
* @ORM\ManyToOne(targetEntity="SequenceMethod")
* @ORM\JoinColumn(name="sequence_method_id", referencedColumnName="id")
*/
protected $method;
/**
* @ORM\ManyToOne(targetEntity="SequenceVariable")
* @ORM\JoinColumn(name="sequence_variable_id", referencedColumnName="id")
*/
protected $variable;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return mixed
*/
public function getMethod()
{
return $this->method;
}
/**
* @param mixed $method
*
* @return SequenceFormula
*/
public function setMethod($method)
{
$this->method = $method;
return $this;
}
/**
* @return mixed
*/
public function getVariable()
{
return $this->variable;
}
/**
* @param mixed $variable
*
* @return SequenceFormula
*/
public function setVariable($variable)
{
$this->variable = $variable;
return $this;
}
}