示例#1
0
 public function setCarrera(Carrera $v = null)
 {
     if ($v === null) {
         $this->setFkCarreraId(0);
     } else {
         $this->setFkCarreraId($v->getId());
     }
     $this->aCarrera = $v;
     if ($v !== null) {
         $v->addAnio($this);
     }
     return $this;
 }