src/Entity/TmpConteneurReception.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TmpConteneurReceptionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=TmpConteneurReceptionRepository::class)
  7.  */
  8. class TmpConteneurReception
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=ProgrammeContenaire::class, inversedBy="tmpConteneurReceptions")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $programme;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=Utilisateur::class, inversedBy="tmpConteneurReceptions")
  23.      */
  24.     private $user;
  25.     /**
  26.      * @ORM\Column(type="boolean")
  27.      */
  28.     private $isflag;
  29.     /**
  30.      * @ORM\Column(type="string", length=10)
  31.      */
  32.     private $quantite;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=TmpReception::class, inversedBy="tmpConteneurReceptions")
  35.      */
  36.     private $tmpReception;
  37.     /**
  38.      * @ORM\Column(type="string", length=20)
  39.      */
  40.     private $destinationAirCargo;
  41.     /**
  42.      * @ORM\Column(type="string", length=30)
  43.      */
  44.     private $pkg;
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getQuantite(): ?string
  50.     {
  51.         return $this->quantite;
  52.     }
  53.     public function setQuantite(string $quantite): self
  54.     {
  55.         $this->quantite $quantite;
  56.         return $this;
  57.     }
  58.     public function getProgramme(): ?ProgrammeContenaire
  59.     {
  60.         return $this->programme;
  61.     }
  62.     public function setProgramme(?ProgrammeContenaire $programme): self
  63.     {
  64.         $this->programme $programme;
  65.         return $this;
  66.     }
  67.     public function getUser(): ?utilisateur
  68.     {
  69.         return $this->user;
  70.     }
  71.     public function setUser(?utilisateur $user): self
  72.     {
  73.         $this->user $user;
  74.         return $this;
  75.     }
  76.     public function isIsflag(): ?bool
  77.     {
  78.         return $this->isflag;
  79.     }
  80.     public function setIsflag(bool $isflag): self
  81.     {
  82.         $this->isflag $isflag;
  83.         return $this;
  84.     }
  85.     public function getTmpReception(): ?TmpReception
  86.     {
  87.         return $this->tmpReception;
  88.     }
  89.     public function setTmpReception(?TmpReception $tmpReception): self
  90.     {
  91.         $this->tmpReception $tmpReception;
  92.         return $this;
  93.     }
  94.     public function getDestinationAirCargo(): ?string
  95.     {
  96.         return $this->destinationAirCargo;
  97.     }
  98.     public function setDestinationAirCargo(string $destinationAirCargo): self
  99.     {
  100.         $this->destinationAirCargo $destinationAirCargo;
  101.         return $this;
  102.     }
  103.     public function getPkg(): ?string
  104.     {
  105.         return $this->pkg;
  106.     }
  107.     public function setPkg(string $pkg): self
  108.     {
  109.         $this->pkg $pkg;
  110.         return $this;
  111.     }
  112. }