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/main/inc/Entity/EntitySessionRelUser.php

201 lines
3.5 KiB

<?php
use Doctrine\ORM\Mapping as ORM;
/**
* EntitySessionRelUser
*
* @Table(name="session_rel_user")
* @Entity
*/
class EntitySessionRelUser
{
/**
* @var integer
*
* @Column(name="id_session", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $idSession;
/**
* @var integer
*
* @Column(name="id_user", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $idUser;
/**
* @var integer
*
* @Column(name="relation_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @Id
* @GeneratedValue(strategy="NONE")
*/
private $relationType;
/**
* @var integer
*
* @Column(name="moved_to", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $movedTo;
/**
* @var integer
*
* @Column(name="moved_status", type="integer", precision=0, scale=0, nullable=true, unique=false)
*/
private $movedStatus;
/**
* @var \DateTime
*
* @Column(name="moved_at", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $movedAt;
/**
* Set idSession
*
* @param integer $idSession
* @return EntitySessionRelUser
*/
public function setIdSession($idSession)
{
$this->idSession = $idSession;
return $this;
}
/**
* Get idSession
*
* @return integer
*/
public function getIdSession()
{
return $this->idSession;
}
/**
* Set idUser
*
* @param integer $idUser
* @return EntitySessionRelUser
*/
public function setIdUser($idUser)
{
$this->idUser = $idUser;
return $this;
}
/**
* Get idUser
*
* @return integer
*/
public function getIdUser()
{
return $this->idUser;
}
/**
* Set relationType
*
* @param integer $relationType
* @return EntitySessionRelUser
*/
public function setRelationType($relationType)
{
$this->relationType = $relationType;
return $this;
}
/**
* Get relationType
*
* @return integer
*/
public function getRelationType()
{
return $this->relationType;
}
/**
* Set movedTo
*
* @param integer $movedTo
* @return EntitySessionRelUser
*/
public function setMovedTo($movedTo)
{
$this->movedTo = $movedTo;
return $this;
}
/**
* Get movedTo
*
* @return integer
*/
public function getMovedTo()
{
return $this->movedTo;
}
/**
* Set movedStatus
*
* @param integer $movedStatus
* @return EntitySessionRelUser
*/
public function setMovedStatus($movedStatus)
{
$this->movedStatus = $movedStatus;
return $this;
}
/**
* Get movedStatus
*
* @return integer
*/
public function getMovedStatus()
{
return $this->movedStatus;
}
/**
* Set movedAt
*
* @param \DateTime $movedAt
* @return EntitySessionRelUser
*/
public function setMovedAt($movedAt)
{
$this->movedAt = $movedAt;
return $this;
}
/**
* Get movedAt
*
* @return \DateTime
*/
public function getMovedAt()
{
return $this->movedAt;
}
}