id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets code. * * @param string $code * * @return $this */ public function setCode($code) { $this->code = $code; return $this; } /** * Gets code. * * @return string */ public function getCode() { return $this->code; } /** * Sets name. * * @param string $name * * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * Gets name. * * @return string */ public function getName() { return $this->name; } /** * Sets type. * * @param string $type * * @return $this */ public function setType($type) { $this->type = $type; return $this; } /** * Gets type. * * @return string */ public function getType() { return $this->type; } }