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.LoginAccountPwd;
import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.filter.*;


public interface LoginAccountPwdFeignClient {



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

	@RequestMapping(method = RequestMethod.PUT, value = "/runtimemgr/loginaccountpwds/{loginaccountpwd_id}")
    public LoginAccountPwd update(@PathVariable("loginaccountpwd_id") String loginaccountpwd_id, @RequestBody LoginAccountPwd loginaccountpwd) ;

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

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/loginaccountpwds/{loginaccountpwd_id}")
    public LoginAccountPwd get(@PathVariable("loginaccountpwd_id") String loginaccountpwd_id) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/loginaccountpwds/{loginaccountpwd_id}/save")
    public LoginAccountPwd save(@PathVariable("loginaccountpwd_id") String loginaccountpwd_id, @RequestBody LoginAccountPwd loginaccountpwd) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/loginaccountpwds")
    public LoginAccountPwd create(@RequestBody LoginAccountPwd loginaccountpwd) ;

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/loginaccountpwds/{loginaccountpwd_id}/getdraft")
    public LoginAccountPwd getDraft(@PathVariable("loginaccountpwd_id") String loginaccountpwd_id, @RequestBody LoginAccountPwd loginaccountpwd) ;

    @RequestMapping(method= RequestMethod.GET , value="/runtimemgr/loginaccountpwds/fetchdefault")
	public Page<LoginAccountPwd> fetchDefault(LoginAccountPwdSearchContext searchContext) ;
}
