%PDF- %PDF-
| Direktori : /home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/ |
| Current File : //home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/SequenceRuleMethod.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class SequenceRuleMethod.
*
* @ORM\Table(name="sequence_rule_method")
* @ORM\Entity
*/
class SequenceRuleMethod
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue()
*/
protected $id;
/**
* @var string
*
* @ORM\Column(name="method_order", type="integer")
*/
protected $methodOrder;
/**
* @ORM\ManyToOne(targetEntity="SequenceRule")
* @ORM\JoinColumn(name="sequence_rule_id", referencedColumnName="id")
*/
protected $rule;
/**
* @ORM\ManyToOne(targetEntity="SequenceMethod")
* @ORM\JoinColumn(name="sequence_method_id", referencedColumnName="id")
*/
protected $method;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return string
*/
public function getMethodOrder()
{
return $this->methodOrder;
}
/**
* @param string $methodOrder
*/
public function setMethodOrder($methodOrder)
{
$this->methodOrder = $methodOrder;
}
/**
* @return mixed
*/
public function getRule()
{
return $this->rule;
}
/**
* @param mixed $rule
*/
public function setRule($rule)
{
$this->rule = $rule;
}
/**
* @return mixed
*/
public function getMethod()
{
return $this->method;
}
/**
* @param mixed $method
*/
public function setMethod($method)
{
$this->method = $method;
}
}