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.     /**
  46.      * @ORM\Column(type="boolean")
  47.      */
  48.     private $isInvoiceGenerate;
  49.     /**
  50.      * @ORM\Column(type="boolean")
  51.      */
  52.     private $isContainer;
  53.     /**
  54.      * @ORM\Column(type="boolean")
  55.      */
  56.     private $isMemberContainer;
  57.     public function __construct()
  58.     {
  59.         $this->isMemberContainer = false;
  60.         $this->isContainer = false;
  61.         $this->isInvoiceGenerate = true;
  62.     }
  63.     public function getId(): ?int
  64.     {
  65.         return $this->id;
  66.     }
  67.     public function getQuantite(): ?string
  68.     {
  69.         return $this->quantite;
  70.     }
  71.     public function setQuantite(string $quantite): self
  72.     {
  73.         $this->quantite = $quantite;
  74.         return $this;
  75.     }
  76.     public function getProgramme(): ?ProgrammeContenaire
  77.     {
  78.         return $this->programme;
  79.     }
  80.     public function setProgramme(?ProgrammeContenaire $programme): self
  81.     {
  82.         $this->programme = $programme;
  83.         return $this;
  84.     }
  85.     public function getUser(): ?utilisateur
  86.     {
  87.         return $this->user;
  88.     }
  89.     public function setUser(?utilisateur $user): self
  90.     {
  91.         $this->user = $user;
  92.         return $this;
  93.     }
  94.     public function isIsflag(): ?bool
  95.     {
  96.         return $this->isflag;
  97.     }
  98.     public function setIsflag(bool $isflag): self
  99.     {
  100.         $this->isflag = $isflag;
  101.         return $this;
  102.     }
  103.     public function getTmpReception(): ?TmpReception
  104.     {
  105.         return $this->tmpReception;
  106.     }
  107.     public function setTmpReception(?TmpReception $tmpReception): self
  108.     {
  109.         $this->tmpReception = $tmpReception;
  110.         return $this;
  111.     }
  112.     public function getDestinationAirCargo(): ?string
  113.     {
  114.         return $this->destinationAirCargo;
  115.     }
  116.     public function setDestinationAirCargo(string $destinationAirCargo): self
  117.     {
  118.         $this->destinationAirCargo = $destinationAirCargo;
  119.         return $this;
  120.     }
  121.     public function getPkg(): ?string
  122.     {
  123.         return $this->pkg;
  124.     }
  125.     public function setPkg(string $pkg): self
  126.     {
  127.         $this->pkg = $pkg;
  128.         return $this;
  129.     }
  130.     public function isIsInvoiceGenerate(): ?bool
  131.     {
  132.         return $this->isInvoiceGenerate;
  133.     }
  134.     public function setIsInvoiceGenerate(bool $isInvoiceGenerate): self
  135.     {
  136.         $this->isInvoiceGenerate = $isInvoiceGenerate;
  137.         return $this;
  138.     }
  139.     public function isIsContainer(): ?bool
  140.     {
  141.         return $this->isContainer;
  142.     }
  143.     public function setIsContainer(bool $isContainer): self
  144.     {
  145.         $this->isContainer = $isContainer;
  146.         return $this;
  147.     }
  148.     public function isIsMemberContainer(): ?bool
  149.     {
  150.         return $this->isMemberContainer;
  151.     }
  152.     public function setIsMemberContainer(bool $isMemberContainer): self
  153.     {
  154.         $this->isMemberContainer = $isMemberContainer;
  155.         return $this;
  156.     }
  157. }