package com.yuchen.saas.park.api.feign.property;

import com.yuchen.saas.park.api.dto.property.PropertyBuildingsQryDto;
import com.yuchen.saas.park.api.entity.property.PropertyBuildings;
import org.nest.springwrap.core.mp.support.NestPage;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.stereotype.Component;

@Component
public class PropertyBuildingsFeignServiceFallback implements PropertyBuildingsFeignService {

    @Override
    public R save(PropertyBuildings PropertyBuildings) {
        return R.fail("feign远程调用失败.");
    }

    @Override
    public R<NestPage<PropertyBuildings>> list(PropertyBuildingsQryDto propertyBuildingsQryDTO) {
        return R.fail("feign远程调用失败.");
    }

    @Override
    public R detail(Long id) {
        return R.fail("feign远程调用失败.");
    }

}
