<?php
namespace App\Entity\Site;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Site;
/**
* Contrat client
*
* @ORM\Table("site_logistique")
* @ORM\Entity
*/
class Logistique
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @ORM\Column(name="dateOuverture", type="string", nullable=true)
*/
private $dateOuverture;
/**
* @ORM\Column(name="nbResidents", type="string", nullable=true)
*/
private $nbResidents;
/**
* @ORM\Column(name="jours", type="text", nullable=true)
*/
private $jours;
/**
* @ORM\Column(name="identifiantLoreal", type="string", nullable=true)
*/
private $identifiantLoreal;
/**
* @ORM\Column(name="linge", type="boolean", nullable=true)
*/
private $linge = true;
/**
* @ORM\Column(name="comments", type="text", nullable=true)
*/
private $comments;
/**
* @ORM\OneToOne(targetEntity=Site::class, inversedBy="logistique" )
*/
protected $site;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getDateOuverture()
{
return $this->dateOuverture;
}
/**
* @param mixed $dateOuverture
*/
public function setDateOuverture($dateOuverture): void
{
$this->dateOuverture = $dateOuverture;
}
/**
* @return mixed
*/
public function getNbResidents()
{
return $this->nbResidents;
}
/**
* @param mixed $nbResidents
*/
public function setNbResidents($nbResidents): void
{
$this->nbResidents = $nbResidents;
}
/**
* @return mixed
*/
public function getJours()
{
return $this->jours;
}
/**
* @param mixed $jours
*/
public function setJours($jours): void
{
$this->jours = $jours;
}
/**
* @return mixed
*/
public function getLinge()
{
return $this->linge;
}
/**
* @param mixed $linge
*/
public function setLinge($linge): void
{
$this->linge = $linge;
}
/**
* @return mixed
*/
public function getComments()
{
return $this->comments;
}
/**
* @param mixed $comments
*/
public function setComments($comments): void
{
$this->comments = $comments;
}
/**
* @return mixed
*/
public function getSite()
{
return $this->site;
}
/**
* @param mixed $site
*/
public function setSite($site): void
{
$this->site = $site;
}
/**
* @return mixed
*/
public function getIdentifiantLoreal()
{
return $this->identifiantLoreal;
}
/**
* @param mixed $identifiantLoreal
*/
public function setIdentifiantLoreal($identifiantLoreal): void
{
$this->identifiantLoreal = $identifiantLoreal;
}
}