package cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.feign;

import java.util.List;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.domain.UserRoleRes;
import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.filter.*;


public interface UserRoleResFeignClient {



	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/userroleres/{userroleres_id}/getdraft")
    public UserRoleRes getDraft(@PathVariable("userroleres_id") String userroleres_id, @RequestBody UserRoleRes userroleres) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/userroleres/checkkey")
    public Boolean checkKey(@RequestBody UserRoleRes userroleres) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/runtimemgr/userroleres/{userroleres_id}")
    public UserRoleRes update(@PathVariable("userroleres_id") String userroleres_id, @RequestBody UserRoleRes userroleres) ;

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/userroleres/{userroleres_id}")
    public UserRoleRes get(@PathVariable("userroleres_id") String userroleres_id) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/userroleres")
    public UserRoleRes create(@RequestBody UserRoleRes userroleres) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/userroleres/{userroleres_id}/save")
    public UserRoleRes save(@PathVariable("userroleres_id") String userroleres_id, @RequestBody UserRoleRes userroleres) ;

	@RequestMapping(method = RequestMethod.DELETE, value = "/runtimemgr/userroleres/{userroleres_id}")
    public Boolean remove(@PathVariable("userroleres_id") String userroleres_id) ;

    @RequestMapping(method= RequestMethod.GET , value="/runtimemgr/userroleres/fetchdefault")
	public Page<UserRoleRes> fetchDefault(UserRoleResSearchContext searchContext) ;
}
