src/Entity/Address.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AddressRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassAddressRepository::class)]
  6. class Address
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $company null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $street null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $housenr null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $city null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $zipcode null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $country null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getCompany(): ?string
  29.     {
  30.         return $this->company;
  31.     }
  32.     public function setCompany(?string $company): self
  33.     {
  34.         $this->company $company;
  35.         return $this;
  36.     }
  37.     public function getStreet(): ?string
  38.     {
  39.         return $this->street;
  40.     }
  41.     public function setStreet(?string $street): self
  42.     {
  43.         $this->street $street;
  44.         return $this;
  45.     }
  46.     public function getHousenr(): ?string
  47.     {
  48.         return $this->housenr;
  49.     }
  50.     public function setHousenr(?string $housenr): self
  51.     {
  52.         $this->housenr $housenr;
  53.         return $this;
  54.     }
  55.     public function getZipcode(): ?string
  56.     {
  57.         return $this->zipcode;
  58.     }
  59.     public function setZipcode(?string $zipcode): self
  60.     {
  61.         $this->zipcode $zipcode;
  62.         return $this;
  63.     }
  64.     public function getCountry(): ?string
  65.     {
  66.         return $this->country;
  67.     }
  68.     public function setCountry(?string $country): self
  69.     {
  70.         $this->country $country;
  71.         return $this;
  72.     }
  73.     public function getCity(): ?string
  74.     {
  75.         return $this->city;
  76.     }
  77.     public function setCity(?string $city): self
  78.     {
  79.         $this->city $city;
  80.         return $this;
  81.     }
  82. }