<?php
namespace App\Entity;
use App\Repository\ProgramaEpesFormacionComplementariaRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ProgramaEpesFormacionComplementariaRepository::class)]
class ProgramaEpesFormacionComplementaria
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: Solicitud::class, inversedBy: 'programasEpesFormacionComplementaria')]
#[ORM\JoinColumn(nullable: false)]
private ?Solicitud $solicitud = null;
#[ORM\Column(type: 'string', length: 4, nullable: true)]
private ?string $anyo = null;
public function getId(): ?int
{
return $this->id;
}
public function getSolicitud(): ?Solicitud
{
return $this->solicitud;
}
public function setSolicitud(?Solicitud $solicitud): self
{
$this->solicitud = $solicitud;
return $this;
}
public function getAnyo(): ?string
{
return $this->anyo;
}
public function setAnyo(?string $anyo): self
{
$this->anyo = $anyo;
return $this;
}
}