<?php
namespace App\Entity;
use App\Repository\LnaturecontratBaremeRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LnaturecontratBaremeRepository::class)]
class LnaturecontratBareme
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'naturecontrat')]
private ?Pbareme $bareme = null;
#[ORM\ManyToOne(inversedBy: 'baremes')]
private ?PnatureContract $naturecontrat = null;
public function getId(): ?int
{
return $this->id;
}
public function getBareme(): ?Pbareme
{
return $this->bareme;
}
public function setBareme(?Pbareme $bareme): self
{
$this->bareme = $bareme;
return $this;
}
public function getNaturecontrat(): ?PnatureContract
{
return $this->naturecontrat;
}
public function setNaturecontrat(?PnatureContract $naturecontrat): self
{
$this->naturecontrat = $naturecontrat;
return $this;
}
}