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

import com.yuchen.saas.park.api.entity.property.PropertyFeeMode;
import com.yuchen.saas.park.api.entity.property.PropertyHouses;
import org.nest.springwrap.core.launch.app.AppNameConstant;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(
        value = AppNameConstant.SAAS_PARK
)
public interface PropertyFeeModeFeignService {

    @PostMapping("/propertyFeeMode/save")
    R save(PropertyHouses propertyHouses);


    @GetMapping("/propertyFeeMode/detail")
    R<PropertyFeeMode> detail(Long id);
}
