src/Entity/ParentSejour.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ParentSejour
  6.  *
  7.  * @ORM\Table(name="parent_sejour", indexes={@ORM\Index(name="fk_sejour_user_idx", columns={"id_parent"}), @ORM\Index(name="Id_Sjour_idx", columns={"Id_sejour"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\ParentSejourRepository")
  9.  */
  10. class ParentSejour
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var \DateTime|null
  22.      *
  23.      * @ORM\Column(name="date_creation", type="date", nullable=true)
  24.      */
  25.     private $dateCreation;
  26.     /**
  27.      * @var \DateTime|null
  28.      *
  29.      * @ORM\Column(name="date_modification", type="date", nullable=true)
  30.      */
  31.     private $dateModification;
  32.     /**
  33.      * @var \User
  34.      *
  35.      * @ORM\ManyToOne(targetEntity="User")
  36.      * @ORM\JoinColumns({
  37.      *   @ORM\JoinColumn(name="id_parent", referencedColumnName="id")
  38.      * })
  39.      */
  40.     private $idParent;
  41.     /**
  42.      * @var \Sejour
  43.      *
  44.      * @ORM\ManyToOne(targetEntity="Sejour")
  45.      * @ORM\JoinColumns({
  46.      *   @ORM\JoinColumn(name="Id_sejour", referencedColumnName="id")
  47.      * })
  48.      */
  49.     private $idSejour;
  50.     /**
  51.      * @var int|null
  52.      *
  53.      * @ORM\Column(name="payment", type="integer", nullable=true)
  54.      */
  55.     private $payment;
  56.     /**
  57.      * @var int|null
  58.      *
  59.      * @ORM\Column(name="smsnotif", type="integer", nullable=true)
  60.      */
  61.     private $smsnotif;
  62.     /**
  63.      * @var int|null
  64.      *
  65.      * @ORM\Column(name="mailnotif", type="integer", nullable=true)
  66.      */
  67.     private $mailnotif;
  68.     /**
  69.      * @var int|null
  70.      *
  71.      * @ORM\Column(name="traiter", type="integer", nullable=true)
  72.      */
  73.     private $traiter;
  74.     /**
  75.      *
  76.      * @ORM\Column(name="rev", type="integer", nullable=true)
  77.      */
  78.     private $rev;
  79.     /**
  80.      *
  81.      * @ORM\Column(name="fact", type="integer", nullable=true)
  82.      */
  83.     private $fact;
  84.     /**
  85.      * @var int|null
  86.      *
  87.      * @ORM\Column(name="flagPrix", type="integer", nullable=true)
  88.      */
  89.     private $flagPrix;
  90.     /**
  91.      * @return int|null
  92.      */
  93.     public function getFlagPrix(): ?int
  94.     {
  95.         return $this->flagPrix;
  96.     }
  97.     /**
  98.      * @param int|null $flagPrix
  99.      */
  100.     public function setFlagPrix(?int $flagPrix): void
  101.     {
  102.         $this->flagPrix $flagPrix;
  103.     }
  104.     public function getId(): ?int
  105.     {
  106.         return $this->id;
  107.     }
  108.     public function getDateCreation(): ?\DateTimeInterface
  109.     {
  110.         return $this->dateCreation;
  111.     }
  112.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  113.     {
  114.         $this->dateCreation $dateCreation;
  115.         return $this;
  116.     }
  117.     public function getDateModification(): ?\DateTimeInterface
  118.     {
  119.         return $this->dateModification;
  120.     }
  121.     public function setDateModification(?\DateTimeInterface $dateModification): self
  122.     {
  123.         $this->dateModification $dateModification;
  124.         return $this;
  125.     }
  126.     public function getIdParent(): ?User
  127.     {
  128.         return $this->idParent;
  129.     }
  130.     public function setIdParent(?User $idParent): self
  131.     {
  132.         $this->idParent $idParent;
  133.         return $this;
  134.     }
  135.     public function getIdSejour(): ?Sejour
  136.     {
  137.         return $this->idSejour;
  138.     }
  139.     public function setIdSejour(?Sejour $idSejour): self
  140.     {
  141.         $this->idSejour $idSejour;
  142.         return $this;
  143.     }
  144.     
  145.     public function getPayment(): ?int
  146.     {
  147.         return $this->payment;
  148.     }
  149.     public function setPayment(?int $payment): self
  150.     {
  151.         $this->payment $payment;
  152.         return $this;
  153.     }
  154.     public function getSmsnotif(): ?int
  155.     {
  156.         return $this->smsnotif;
  157.     }
  158.     public function setSmsnotif(?int $smsnotif): self
  159.     {
  160.         $this->smsnotif $smsnotif;
  161.         return $this;
  162.     }
  163.     public function getMailnotif(): ?int
  164.     {
  165.         return $this->mailnotif;
  166.     }
  167.     public function setMailnotif(?int $mailnotif): self
  168.     {
  169.         $this->mailnotif $mailnotif;
  170.         return $this;
  171.     }
  172.     public function getRev(): ?int
  173.     {
  174.         return $this->rev;
  175.     }
  176.     public function setRev(?int $rev): self
  177.     {
  178.         $this->rev $rev;
  179.         return $this;
  180.     }
  181.     public function getFact(): ?int
  182.     {
  183.         return $this->fact;
  184.     }
  185.     public function setFact(?int $fact): self
  186.     {
  187.         $this->fact $fact;
  188.         return $this;
  189.     }
  190.     /**
  191.      * @return int|null
  192.      */
  193.     public function getTraiter(): ?int
  194.     {
  195.         return $this->traiter;
  196.     }
  197.     /**
  198.      * @param int|null $traiter
  199.      */
  200.     public function setTraiter(?int $traiter): void
  201.     {
  202.         $this->traiter $traiter;
  203.     }
  204.    
  205. }