package com.yuchen.saas.parking.api.feign;

import com.yuchen.saas.parking.api.entity.PmgBatManagePassRule;
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.RequestParam;

/**
 * 停车管理协议Feign调用
 */
@FeignClient(value = AppNameConstant.SAAS_PARKING, fallbackFactory = PmgBatManagePassRuleClientFallback.class)
public interface PmgBatManagePassRuleClient {
	
	/**
	 * 获取停车管理协议详情接口
	 */
	@GetMapping("/parking/manageProtocol/getManageProtocolDetail")
	R<PmgBatManagePassRule> getManageProtocolDetail(@RequestParam(required = false) String tenantId,@RequestParam(required = false) Long parkId,
													@RequestParam(required = false)String protocolType);

}
