<?php
namespace App\Entity;
use App\Repository\TierJustifRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=TierJustifRepository::class)
*/
class TierJustif
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=tier::class, inversedBy="tierJustifs")
*/
private $tier;
/**
* @ORM\ManyToOne(targetEntity=Justificatif::class)
*/
private $justificatif;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $file;
public function getId(): ?int
{
return $this->id;
}
public function getTier(): ?tier
{
return $this->tier;
}
public function setTier(?tier $tier): self
{
$this->tier = $tier;
return $this;
}
public function getJustificatif(): ?Justificatif
{
return $this->justificatif;
}
public function setJustificatif(?Justificatif $justificatif): self
{
$this->justificatif = $justificatif;
return $this;
}
public function getFile(): ?string
{
return $this->file;
}
public function setFile(?string $file): self
{
$this->file = $file;
return $this;
}
}