/** * @return Tvserials */ public function getTVSerial() { if (null == $this->TVserial) { $this->TVserial = Tvserials::query()->where('id =:id:', ['id' => $this->tvSerial_id])->execute()->getFirst(); } return $this->TVserial; }