<?phpnamespace App\Asistencia\Entity;use App\Core\Entity\EstudianteCurso;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Asistencia\Repository\LogroRepository") */class Logro{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=200) */ private $descripcion; /** * @ORM\ManyToOne(targetEntity="App\Core\Entity\EstudianteCurso", inversedBy="logros") * @ORM\JoinColumn(nullable=false) */ private $estudianteCurso; /** * @ORM\Column(type="datetime") */ private $fecha; /** * @ORM\ManyToOne(targetEntity="App\Asistencia\Entity\Clase") * @ORM\JoinColumn(nullable=false) */ private $claseEntregado; /** * @ORM\Column(type="string", length=25, nullable=true) */ private $tipoMedalla; /** * @ORM\Column(type="string", length=10, nullable=true) */ private $colorMedalla; public function getId(): ?int { return $this->id; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(string $descripcion): self { $this->descripcion = $descripcion; return $this; } public function getEstudianteCurso(): ?EstudianteCurso { return $this->estudianteCurso; } public function setEstudianteCurso(?EstudianteCurso $estudianteCurso): self { $this->estudianteCurso = $estudianteCurso; return $this; } public function getFecha(): ?\DateTimeInterface { return $this->fecha; } public function setFecha(\DateTimeInterface $fecha): self { $this->fecha = $fecha; return $this; } public function getClaseEntregado(): ?Clase { return $this->claseEntregado; } public function setClaseEntregado(?Clase $clase): self { $this->claseEntregado = $clase; return $this; } public function getTipoMedalla(): ?string { return $this->tipoMedalla; } public function setTipoMedalla(string $tipoMedalla): self { $this->tipoMedalla = $tipoMedalla; return $this; } public function getColorMedalla(): ?string { return $this->colorMedalla; } public function setColorMedalla(string $colorMedalla): self { $this->colorMedalla = $colorMedalla; return $this; }}