src/Entity/Site/Logistique.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Site;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\Site;
  5. /**
  6.  * Contrat client
  7.  *
  8.  * @ORM\Table("site_logistique")
  9.  * @ORM\Entity
  10.  */
  11. class Logistique
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @ORM\Column(name="dateOuverture", type="string", nullable=true)
  23.      */
  24.     private $dateOuverture;
  25.     /**
  26.      * @ORM\Column(name="nbResidents", type="string", nullable=true)
  27.      */
  28.     private $nbResidents;
  29.     /**
  30.      * @ORM\Column(name="jours", type="text", nullable=true)
  31.      */
  32.     private $jours;
  33.     /**
  34.      * @ORM\Column(name="identifiantLoreal", type="string", nullable=true)
  35.      */
  36.     private $identifiantLoreal;
  37.     /**
  38.      * @ORM\Column(name="linge", type="boolean", nullable=true)
  39.      */
  40.     private $linge true;
  41.     /**
  42.      * @ORM\Column(name="comments", type="text", nullable=true)
  43.      */
  44.     private $comments;
  45.     /**
  46.      * @ORM\OneToOne(targetEntity=Site::class, inversedBy="logistique" )
  47.      */
  48.     protected $site;
  49.     /**
  50.      * @return int
  51.      */
  52.     public function getId(): int
  53.     {
  54.         return $this->id;
  55.     }
  56.     /**
  57.      * @param int $id
  58.      */
  59.     public function setId(int $id): void
  60.     {
  61.         $this->id $id;
  62.     }
  63.     /**
  64.      * @return mixed
  65.      */
  66.     public function getDateOuverture()
  67.     {
  68.         return $this->dateOuverture;
  69.     }
  70.     /**
  71.      * @param mixed $dateOuverture
  72.      */
  73.     public function setDateOuverture($dateOuverture): void
  74.     {
  75.         $this->dateOuverture $dateOuverture;
  76.     }
  77.     /**
  78.      * @return mixed
  79.      */
  80.     public function getNbResidents()
  81.     {
  82.         return $this->nbResidents;
  83.     }
  84.     /**
  85.      * @param mixed $nbResidents
  86.      */
  87.     public function setNbResidents($nbResidents): void
  88.     {
  89.         $this->nbResidents $nbResidents;
  90.     }
  91.     /**
  92.      * @return mixed
  93.      */
  94.     public function getJours()
  95.     {
  96.         return $this->jours;
  97.     }
  98.     /**
  99.      * @param mixed $jours
  100.      */
  101.     public function setJours($jours): void
  102.     {
  103.         $this->jours $jours;
  104.     }
  105.     /**
  106.      * @return mixed
  107.      */
  108.     public function getLinge()
  109.     {
  110.         return $this->linge;
  111.     }
  112.     /**
  113.      * @param mixed $linge
  114.      */
  115.     public function setLinge($linge): void
  116.     {
  117.         $this->linge $linge;
  118.     }
  119.     /**
  120.      * @return mixed
  121.      */
  122.     public function getComments()
  123.     {
  124.         return $this->comments;
  125.     }
  126.     /**
  127.      * @param mixed $comments
  128.      */
  129.     public function setComments($comments): void
  130.     {
  131.         $this->comments $comments;
  132.     }
  133.     /**
  134.      * @return mixed
  135.      */
  136.     public function getSite()
  137.     {
  138.         return $this->site;
  139.     }
  140.     /**
  141.      * @param mixed $site
  142.      */
  143.     public function setSite($site): void
  144.     {
  145.         $this->site $site;
  146.     }
  147.     /**
  148.      * @return mixed
  149.      */
  150.     public function getIdentifiantLoreal()
  151.     {
  152.         return $this->identifiantLoreal;
  153.     }
  154.     /**
  155.      * @param mixed $identifiantLoreal
  156.      */
  157.     public function setIdentifiantLoreal($identifiantLoreal): void
  158.     {
  159.         $this->identifiantLoreal $identifiantLoreal;
  160.     }
  161. }