add zipcode and description to offering

This commit is contained in:
Jannis Portmann 2021-04-26 22:58:55 +02:00
parent 519b90456e
commit 96e35c3b90
2 changed files with 68 additions and 0 deletions

View file

@ -38,6 +38,16 @@ class Offering
*/
private $photoFilename;
/**
* @ORM\Column(type="integer")
*/
private $zipCode;
/**
* @ORM\Column(type="text")
*/
private $description;
public function getId(): ?int
{
return $this->id;
@ -90,4 +100,28 @@ class Offering
return $this;
}
public function getZipCode(): ?int
{
return $this->zipCode;
}
public function setZipCode(int $zipCode): self
{
$this->zipCode = $zipCode;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
}