belongsTo(ExplainCategory::class,'type_id'); } public function subsites() { return $this->hasMany(SubsiteExplain::class, 'explain_id'); } }