Add more infos to models

This commit is contained in:
Maximilian Ruta 2021-06-12 13:49:08 +02:00
parent 1f0a2b97b1
commit c19af4c4d4
No known key found for this signature in database
GPG Key ID: E2093512D5F67BBA
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;
}
}