<?php
namespace App\Entity;
use App\Repository\SupplierEducationRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\Entity(repositoryClass=SupplierEducationRepository::class)
*/
class SupplierEducation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
* @Groups({
* "supplier_education@core"
* })
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=Suppliers::class, inversedBy="supplier_educations")
* @ORM\JoinColumn(nullable=false)
*/
private $supplier;
/**
* @ORM\Column(type="text")
* @Groups({
* "supplier_education@core"
* })
*/
private $prompt;
public function getId(): ?int
{
return $this->id;
}
public function getSupplier(): ?Suppliers
{
return $this->supplier;
}
public function setSupplier(?Suppliers $supplier): self
{
$this->supplier = $supplier;
return $this;
}
public function getPrompt(): ?string
{
return $this->prompt;
}
public function setPrompt(string $prompt): self
{
$this->prompt = $prompt;
return $this;
}
}