<?php
namespace App\Entity;
use App\Repository\UserDocumentRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=UserDocumentRepository::class)
*/
class UserDocument
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="idUserDocument")
*/
private $id;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idDocument;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idCourseSession;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $userIdUser;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $idConversation;
public function getId(): ?int
{
return $this->id;
}
public function getIdDocument(): ?int
{
return $this->idDocument;
}
public function setIdDocument(?int $idDocument): self
{
$this->idDocument = $idDocument;
return $this;
}
public function getIdCourseSession(): ?int
{
return $this->idCourseSession;
}
public function setIdCourseSession(?int $idCourseSession): self
{
$this->idCourseSession = $idCourseSession;
return $this;
}
public function getUserIdUser(): ?int
{
return $this->userIdUser;
}
public function setUserIdUser(?int $userIdUser): self
{
$this->userIdUser = $userIdUser;
return $this;
}
public function getIdConversation(): ?int
{
return $this->idConversation;
}
public function setIdConversation(?int $idConversation): self
{
$this->idConversation = $idConversation;
return $this;
}
}