mirror of
https://github.com/netzbegruenung/api-models-php.git
synced 2024-04-27 16:24:53 +02:00
Add more infos to models
This commit is contained in:
parent
1f0a2b97b1
commit
c19af4c4d4
|
@ -6,5 +6,7 @@ Netzbegruenung\Api\Model\RegionalChapter:
|
|||
type: string
|
||||
type:
|
||||
type: string
|
||||
zipCode:
|
||||
type: string
|
||||
organization:
|
||||
type: Netzbegruenung\Api\Model\Organization
|
||||
|
|
|
@ -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…
Reference in a new issue