belongsTo(User::class); } public function material(){ return $this->belongsTo(Material::class); } }