src/Entity/Jourdescripdate.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Table(name="jourdescripdate", indexes={@ORM\Index(name="FK_218C35CEF2488D84", columns={"idsejour"})})
  6.  * @ORM\Entity(repositoryClass="App\Repository\JourdescripdateRepository")
  7.  */
  8. class Jourdescripdate
  9. {
  10.     /**
  11.      * @ORM\Id()
  12.      * @ORM\GeneratedValue()
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="text", nullable=true)
  18.      */
  19.     private $description;
  20.     /**
  21.      * @ORM\Column(type="date", nullable=true)
  22.      */
  23.     private $datejourphoto;
  24.      /**
  25.      * @var \Sejour
  26.      *
  27.      * @ORM\ManyToOne(targetEntity="Sejour")
  28.      * @ORM\JoinColumns({
  29.      *   @ORM\JoinColumn(name="idsejour", referencedColumnName="id")
  30.      * })
  31.      */
  32.     private $idsejour;    
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getDescription(): ?string
  38.     {
  39.         return $this->description;
  40.     }
  41.     public function setDescription(?string $description): self
  42.     {
  43.         $this->description $description;
  44.         return $this;
  45.     }
  46.     public function getDatejourphoto(): ?\DateTimeInterface
  47.     {
  48.         return $this->datejourphoto;
  49.     }
  50.     public function setDatejourphoto(?\DateTimeInterface $datejourphoto): self
  51.     {
  52.         $this->datejourphoto $datejourphoto;
  53.         return $this;
  54.     }
  55.     public function getIdsejour(): ?Sejour
  56.     {
  57.         return $this->Idsejour;
  58.     }
  59.     public function setIdIdsejour(?Sejour $Idsejour): self
  60.     {
  61.         $this->idsejour $Idsejour;
  62.         return $this;
  63.     }
  64. }