<?php
namespace App\Entity;
use App\Repository\RendezVousInfosRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=RendezVousInfosRepository::class)
*/
class RendezVousInfos
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=8, nullable=true)
*/
private $rdv_inf_pv;
/**
* @ORM\Column(type="string", length=13, nullable=true)
*/
private $rdv_inf_facture;
/**
* @ORM\Column(type="string", length=2, nullable=true)
*/
private $rdv_inf_resultat;
/**
* @ORM\Column(type="date", nullable=true)
*/
private $rdv_inf_date_ct;
/**
* @ORM\Column(type="time", nullable=true)
*/
private $rdv_inf_hdebut_ct;
/**
* @ORM\Column(type="time", nullable=true)
*/
private $rdv_inf_hfin_ct;
/**
* @ORM\ManyToOne(targetEntity=RendezVousVehicule::class, inversedBy="rendezVousInfos", fetch="EAGER")
* @ORM\JoinColumn(nullable=false)
*/
private $vehicule;
/**
* @ORM\ManyToOne(targetEntity=CentrePrestation::class, inversedBy="rendezVousInfos")
* @ORM\JoinColumn(nullable=false)
*/
private $centre_prestation;
/**
* @ORM\ManyToOne(targetEntity=Rendezvous::class, inversedBy="rendezVousInfos")
* @ORM\JoinColumn(nullable=false)
*/
private $rendezvous;
/**
* @ORM\Column(type="boolean")
*/
private $rdv_inf_depot;
/**
* @ORM\Column(type="boolean")
*/
private $rdv_inf_convoyage;
/**
* @ORM\Column(type="boolean")
*/
private $rdv_inf_pret;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $rdv_inf_date_avis_google_sms;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $rdv_inf_date_avis_google_email;
public function getId(): ?int
{
return $this->id;
}
public function getRdvInfPv(): ?string
{
return $this->rdv_inf_pv;
}
public function setRdvInfPv(?string $rdv_inf_pv): self
{
$this->rdv_inf_pv = $rdv_inf_pv;
return $this;
}
public function getRdvInfFacture(): ?string
{
return $this->rdv_inf_facture;
}
public function setRdvInfFacture(?string $rdv_inf_facture): self
{
$this->rdv_inf_facture = $rdv_inf_facture;
return $this;
}
public function getRdvInfResultat(): ?string
{
return $this->rdv_inf_resultat;
}
public function setRdvInfResultat(?string $rdv_inf_resultat): self
{
$this->rdv_inf_resultat = $rdv_inf_resultat;
return $this;
}
public function getRdvInfDateCt(): ?\DateTimeInterface
{
return $this->rdv_inf_date_ct;
}
public function setRdvInfDateCt(?\DateTimeInterface $rdv_inf_date_ct): self
{
$this->rdv_inf_date_ct = $rdv_inf_date_ct;
return $this;
}
public function getRdvInfHdebutCt(): ?\DateTimeInterface
{
return $this->rdv_inf_hdebut_ct;
}
public function setRdvInfHdebutCt(?\DateTimeInterface $rdv_inf_hdebut_ct): self
{
$this->rdv_inf_hdebut_ct = $rdv_inf_hdebut_ct;
return $this;
}
public function getRdvInfHfinCt(): ?\DateTimeInterface
{
return $this->rdv_inf_hfin_ct;
}
public function setRdvInfHfinCt(?\DateTimeInterface $rdv_inf_hfin_ct): self
{
$this->rdv_inf_hfin_ct = $rdv_inf_hfin_ct;
return $this;
}
public function getVehicule(): ?RendezVousVehicule
{
return $this->vehicule;
}
public function setVehicule(?RendezVousVehicule $vehicule): self
{
$this->vehicule = $vehicule;
return $this;
}
public function getCentrePrestation(): ?CentrePrestation
{
return $this->centre_prestation;
}
public function setCentrePrestation(?CentrePrestation $centre_prestation): self
{
$this->centre_prestation = $centre_prestation;
return $this;
}
public function getRendezvous(): ?Rendezvous
{
return $this->rendezvous;
}
public function setRendezvous(Rendezvous $rendezvous): self
{
$this->rendezvous = $rendezvous;
return $this;
}
public function isRdvInfDepot(): ?bool
{
return $this->rdv_inf_depot;
}
public function setRdvInfDepot(bool $rdv_inf_depot): self
{
$this->rdv_inf_depot = $rdv_inf_depot;
return $this;
}
public function isRdvInfConvoyage(): ?bool
{
return $this->rdv_inf_convoyage;
}
public function setRdvInfConvoyage(bool $rdv_inf_convoyage): self
{
$this->rdv_inf_convoyage = $rdv_inf_convoyage;
return $this;
}
public function isRdvInfPret(): ?bool
{
return $this->rdv_inf_pret;
}
public function setRdvInfPret(bool $rdv_inf_pret): self
{
$this->rdv_inf_pret = $rdv_inf_pret;
return $this;
}
public function getRdvInfDateAvisGoogleSms(): ?\DateTimeInterface
{
return $this->rdv_inf_date_avis_google_sms;
}
public function setRdvInfDateAvisGoogleSms(?\DateTimeInterface $rdv_inf_date_avis_google_sms): self
{
$this->rdv_inf_date_avis_google_sms = $rdv_inf_date_avis_google_sms;
return $this;
}
public function getRdvInfDateAvisGoogleEmail(): ?\DateTimeInterface
{
return $this->rdv_inf_date_avis_google_email;
}
public function setRdvInfDateAvisGoogleEmail(?\DateTimeInterface $rdv_inf_date_avis_google_email): self
{
$this->rdv_inf_date_avis_google_email = $rdv_inf_date_avis_google_email;
return $this;
}
}