<?php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Cuestionario extends \App\Entity\BaseEntity
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $formulario;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $formularioRespuesta;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $fechaFormularioRespuesta;
/**
* @ORM\Column(type="datetime", nullable=false, name="created_at", options={"default":"2024-01-01 00:00:00"})
*/
private $createdAt;
/**
* @ORM\Column(type="datetime", nullable=false, name="updated_at", options={"default":"2024-01-01 00:00:00"})
*/
private $updatedAt;
/**
* @ORM\Column(type="datetime", nullable=true, name="deleted_at")
*/
private $deletedAt;
/**
* @ORM\ManyToOne(targetEntity=\App\Entity\ParticipantesGrupo::class, inversedBy="cuestionarios")
* @ORM\JoinColumn(name="participantes_grupo_id", referencedColumnName="id")
*/
private $participantesGrupo;
public function getId(): ?int
{
return $this->id;
}
public function getFormulario(): ?string
{
return $this->formulario;
}
public function setFormulario(?string $formulario): static
{
$this->formulario = $formulario;
return $this;
}
public function getFormularioRespuesta(): ?int
{
return $this->formularioRespuesta;
}
public function setFormularioRespuesta(?int $formularioRespuesta): static
{
$this->formularioRespuesta = $formularioRespuesta;
return $this;
}
public function getFechaFormularioRespuesta(): ?\DateTimeInterface
{
return $this->fechaFormularioRespuesta;
}
public function setFechaFormularioRespuesta(?\DateTimeInterface $fechaFormularioRespuesta): static
{
$this->fechaFormularioRespuesta = $fechaFormularioRespuesta;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeInterface $createdAt): static
{
$this->createdAt = $createdAt;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(\DateTimeInterface $updatedAt): static
{
$this->updatedAt = $updatedAt;
return $this;
}
public function getDeletedAt(): ?\DateTimeInterface
{
return $this->deletedAt;
}
public function setDeletedAt(?\DateTimeInterface $deletedAt): static
{
$this->deletedAt = $deletedAt;
return $this;
}
public function getParticipantesGrupo(): ?ParticipantesGrupo
{
return $this->participantesGrupo;
}
public function setParticipantesGrupo(?ParticipantesGrupo $participantesGrupo): static
{
$this->participantesGrupo = $participantesGrupo;
return $this;
}
}