add zipcode and description to offering
This commit is contained in:
parent
519b90456e
commit
96e35c3b90
2 changed files with 68 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue