public function setResidents_count($residents_count = null)
{
// validation for constraint: int
if (!is_null($residents_count) && !is_numeric($residents_count)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($residents_count)), __LINE__);
}
$this->residents_count = $residents_count;
return $this;
}