112 lines
1.7 KiB
PHP
112 lines
1.7 KiB
PHP
<?php
|
|
|
|
namespace Netzbegruenung\Api\Model;
|
|
|
|
class RegionalChapter
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $name;
|
|
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $type;
|
|
|
|
/**
|
|
* @var Organization
|
|
*/
|
|
protected $organization;
|
|
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
protected $zipCode;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId(): string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @param string $id
|
|
*/
|
|
public function setId(string $id): void
|
|
{
|
|
$this->id = $id;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* @param string $name
|
|
*/
|
|
public function setName(string $name): void
|
|
{
|
|
$this->name = $name;
|
|
}
|
|
|
|
/**
|
|
* @return string|null
|
|
*/
|
|
public function getType(): ?string
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* @param string|null $type
|
|
*/
|
|
public function setType(?string $type): void
|
|
{
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return Organization
|
|
*/
|
|
public function getOrganization(): ?Organization
|
|
{
|
|
return $this->organization;
|
|
}
|
|
|
|
/**
|
|
* @param Organization $organization
|
|
*/
|
|
public function setOrganization(?Organization $organization): void
|
|
{
|
|
$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;
|
|
}
|
|
}
|