src/Entity/Bestellung.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BestellungRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassBestellungRepository::class)]
  6. class Bestellung
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $tisch null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $bnummer null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?float $preis null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $status null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $name null;
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getTisch(): ?string
  27.     {
  28.         return $this->tisch;
  29.     }
  30.     public function setTisch(?string $tisch): static
  31.     {
  32.         $this->tisch $tisch;
  33.         return $this;
  34.     }
  35.     public function getBnummer(): ?string
  36.     {
  37.         return $this->bnummer;
  38.     }
  39.     public function setBnummer(?string $bnummer): static
  40.     {
  41.         $this->bnummer $bnummer;
  42.         return $this;
  43.     }
  44.     public function getPreis(): ?float
  45.     {
  46.         return $this->preis;
  47.     }
  48.     public function setPreis(?float $preis): static
  49.     {
  50.         $this->preis $preis;
  51.         return $this;
  52.     }
  53.     public function getStatus(): ?string
  54.     {
  55.         return $this->status;
  56.     }
  57.     public function setStatus(?string $status): static
  58.     {
  59.         $this->status $status;
  60.         return $this;
  61.     }
  62.     public function getName(): ?string
  63.     {
  64.         return $this->name;
  65.     }
  66.     public function setName(?string $name): static
  67.     {
  68.         $this->name $name;
  69.         return $this;
  70.     }
  71. }