use Illuminate\Validation\Rule;
Rule::unique('helpness_type')->where(function($query)use($input){
return $query->where('id','!=',$input['id'])->where('deleted_at', null);
})
use Illuminate\Validation\Rule;
Rule::unique('helpness_type')->where(function($query)use($input){
return $query->where('id','!=',$input['id'])->where('deleted_at', null);
})