<?php
namespace App\Entity;
use App\Repository\HistoriqueRefusPropositionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=HistoriqueRefusPropositionRepository::class)
*/
class HistoriqueRefusProposition
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="date")
*/
private $createdt;
/**
* @ORM\ManyToOne(targetEntity=User::class, inversedBy="historiqueRefusPropositions")
*/
private $pharmcie;
/**
* @ORM\Column(type="integer")
*/
private $groupe_suggestion;
public function __construct(){
$this->createdt = new \DateTime();
}
public function getId(): ?int
{
return $this->id;
}
public function getCreatedt(): ?\DateTimeInterface
{
return $this->createdt;
}
public function setCreatedt(\DateTimeInterface $createdt): self
{
$this->createdt = $createdt;
return $this;
}
public function getPharmcie(): ?User
{
return $this->pharmcie;
}
public function setPharmcie(?User $pharmcie): self
{
$this->pharmcie = $pharmcie;
return $this;
}
public function getGroupeSuggestion(): ?int
{
return $this->groupe_suggestion;
}
public function setGroupeSuggestion(int $groupe_suggestion): self
{
$this->groupe_suggestion = $groupe_suggestion;
return $this;
}
}