id; } /** * @param int $id * * @return $this */ public function setId($id) { $id = (int) $id; $this->propertyChanged('id', $this->id, $id); $this->id = $id; return $this; } /** * @return mixed */ public function getName() { return $this->name; } /** * @param mixed $name * @return Room */ public function setName($name) { $this->propertyChanged('name', $this->name, $name); $this->name = $name; return $this; } /** * @return int */ public function getEventId() { return $this->eventId; } /** * @param int $eventId * * @return $this */ public function setEventId($eventId) { $eventId = (int) $eventId; $this->propertyChanged('eventId', $this->eventId, $eventId); $this->eventId = $eventId; return $this; } }