Compare commits

...

1 commit

Author SHA1 Message Date
Maximilian Ruta c19af4c4d4
Add more infos to models 2021-06-12 13:49:21 +02:00
2 changed files with 23 additions and 0 deletions

View file

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

View file

@ -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;
}
}