mirror of
https://github.com/netzbegruenung/api-models-php.git
synced 2024-05-02 18:54:52 +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: string
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
zipCode:
|
||||||
|
type: string
|
||||||
organization:
|
organization:
|
||||||
type: Netzbegruenung\Api\Model\Organization
|
type: Netzbegruenung\Api\Model\Organization
|
||||||
|
|
|
@ -24,6 +24,11 @@ class RegionalChapter
|
||||||
*/
|
*/
|
||||||
protected $organization;
|
protected $organization;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
|
protected $zipCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -87,4 +92,20 @@ class RegionalChapter
|
||||||
{
|
{
|
||||||
$this->organization = $organization;
|
$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