<?php
namespace App\Asistencia\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Asistencia\Repository\ObjetivoRepository")
*/
class Objetivo
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="App\Asistencia\Entity\Clase", inversedBy="objetivos")
* @ORM\JoinColumn(nullable=false)
*/
private $clase;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $descripcion;
public function getId(): ?int
{
return $this->id;
}
public function getClase(): ?Clase
{
return $this->clase;
}
public function setClase(?Clase $clase): self
{
$this->clase = $clase;
return $this;
}
public function getDescripcion(): ?string
{
return $this->descripcion;
}
public function setDescripcion(string $descripcion): self
{
$this->descripcion = $descripcion;
return $this;
}
}