src/Entity/Preise.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PreiseRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PreiseRepository::class)
  7.  */
  8. class Preise
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Geraete::class, inversedBy="preises")
  18.      */
  19.     private $Geraete;
  20.     /**
  21.      * @ORM\ManyToOne(targetEntity=Reparaturen::class, inversedBy="preises")
  22.      */
  23.     private $reparatur;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $preis;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $dauer;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $ek;
  36.     /**
  37.      * @ORM\Column(type="string", length=255)
  38.      */
  39.     private $marge;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $ekcopy;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $margecopy;
  48.     /**
  49.      * @ORM\Column(type="integer", nullable=true)
  50.      */
  51.     private $positionTable;
  52.     public function getId(): ?int
  53.     {
  54.         return $this->id;
  55.     }
  56.     public function getGeraete(): ?Geraete
  57.     {
  58.         return $this->Geraete;
  59.     }
  60.     public function setGeraete(?Geraete $Geraete): self
  61.     {
  62.         $this->Geraete $Geraete;
  63.         return $this;
  64.     }
  65.     public function getReparatur(): ?Reparaturen
  66.     {
  67.         return $this->reparatur;
  68.     }
  69.     public function setReparatur(?Reparaturen $reparatur): self
  70.     {
  71.         $this->reparatur $reparatur;
  72.         return $this;
  73.     }
  74.     public function getPreis(): ?string
  75.     {
  76.         return $this->preis;
  77.     }
  78.     public function setPreis(string $preis): self
  79.     {
  80.         $this->preis $preis;
  81.         return $this;
  82.     }
  83.     public function getDauer(): ?string
  84.     {
  85.         return $this->dauer;
  86.     }
  87.     public function setDauer(?string $dauer): self
  88.     {
  89.         $this->dauer $dauer;
  90.         return $this;
  91.     }
  92.     public function getEk(): ?string
  93.     {
  94.         return $this->ek;
  95.     }
  96.     public function setEk(string $ek): self
  97.     {
  98.         $this->ek $ek;
  99.         return $this;
  100.     }
  101.     public function getMarge(): ?string
  102.     {
  103.         return $this->marge;
  104.     }
  105.     public function setMarge(string $marge): self
  106.     {
  107.         $this->marge $marge;
  108.         return $this;
  109.     }
  110.     public function getEkcopy(): ?string
  111.     {
  112.         return $this->ekcopy;
  113.     }
  114.     public function setEkcopy(?string $ekcopy): self
  115.     {
  116.         $this->ekcopy $ekcopy;
  117.         return $this;
  118.     }
  119.     public function getMargecopy(): ?string
  120.     {
  121.         return $this->margecopy;
  122.     }
  123.     public function setMargecopy(?string $margecopy): self
  124.     {
  125.         $this->margecopy $margecopy;
  126.         return $this;
  127.     }
  128.     public function getPositionTable(): ?int
  129.     {
  130.         return $this->positionTable;
  131.     }
  132.     public function setPositionTable(?int $positionTable): self
  133.     {
  134.         $this->positionTable $positionTable;
  135.         return $this;
  136.     }
  137. }