public function setCuenta(Cuenta $v = null) { if ($v === null) { $this->setFkCuentaId(0); } else { $this->setFkCuentaId($v->getId()); } $this->aCuenta = $v; if ($v !== null) { $v->addAlumno($this); } return $this; }