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/SequenceRowEntity.php

148 lines
2.4 KiB

<?php
declare(strict_types=1);
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class SequenceRowEntity.
*
* @ORM\Table(name="sequence_row_entity")
* @ORM\Entity
*/
class SequenceRowEntity
{
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue()
*/
protected int $id;
/**
* @ORM\Column(name="c_id", type="integer")
*/
protected int $cId;
/**
* @ORM\Column(name="session_id", type="integer")
*/
protected int $sessionId;
/**
* @ORM\Column(name="row_id", type="integer")
*/
protected int $rowId;
/**
* @ORM\Column(name="name", type="string", length=255, nullable=false)
*/
protected string $name;
/**
* @ORM\ManyToOne(targetEntity="SequenceTypeEntity")
* @ORM\JoinColumn(name="sequence_type_entity_id", referencedColumnName="id")
*/
protected ?SequenceTypeEntity $type = null;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return int
*/
public function getCId()
{
return $this->cId;
}
/**
* @return SequenceRowEntity
*/
public function setCId(int $cId): self
{
$this->cId = $cId;
return $this;
}
/**
* @return int
*/
public function getSessionId()
{
return $this->sessionId;
}
/**
* @return SequenceRowEntity
*/
public function setSessionId(int $sessionId): self
{
$this->sessionId = $sessionId;
return $this;
}
/**
* @return int
*/
public function getRowId()
{
return $this->rowId;
}
/**
* @return SequenceRowEntity
*/
public function setRowId(int $rowId): self
{
$this->rowId = $rowId;
return $this;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @return SequenceRowEntity
*/
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getType()
{
return $this->type;
}
/**
* @return SequenceRowEntity
*/
public function setType(?SequenceTypeEntity $type): self
{
$this->type = $type;
return $this;
}
}