Browse Source

Add more infos to models

master 0.10.7
Maximilian Ruta 7 months ago
parent
commit
c19af4c4d4
No known key found for this signature in database GPG Key ID: E2093512D5F67BBA
  1. 2
      serializer/RegionalChapter.yaml
  2. 21
      src/RegionalChapter.php

2
serializer/RegionalChapter.yaml

@ -6,5 +6,7 @@ Netzbegruenung\Api\Model\RegionalChapter:
type: string
type:
type: string
zipCode:
type: string
organization:
type: Netzbegruenung\Api\Model\Organization

21
src/RegionalChapter.php

@ -24,6 +24,11 @@ class RegionalChapter
*/
protected $organization;
/**
* @var string|null
*/
protected $zipCode;
/**
* @return string
*/
@ -87,4 +92,20 @@ class RegionalChapter
{
$this->organization = $organization;
}
/**
* @return string|null
*/
public function getZipCode() : ?string
{
return $this->zipCode;
}
/**
* @param string|null $zipCode
*/
public function setZipCode(?string $zipCode): void
{
$this->zipCode = $zipCode;
}
}

Loading…
Cancel
Save