timestamps = false; } public function parent() { return $this->hasOne(self::class, 'id', 'pid'); } }