package com.ibiz.web.external.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 com.ibiz.web.external.domain.SYXBJ;
import com.ibiz.web.external.filter.*;


public interface SYXBJFeignClient {



	@RequestMapping(method = RequestMethod.POST, value = "/web/syxbjs/{syxbj_id}/save")
    public SYXBJ save(@PathVariable("syxbj_id") String syxbj_id, @RequestBody SYXBJ syxbj) ;

	@RequestMapping(method = RequestMethod.DELETE, value = "/web/syxbjs/{syxbj_id}")
    public Boolean remove(@PathVariable("syxbj_id") String syxbj_id) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/syxbjs/{syxbj_id}/getdraft")
    public SYXBJ getDraft(@PathVariable("syxbj_id") String syxbj_id, @RequestBody SYXBJ syxbj) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/syxbjs/checkkey")
    public Boolean checkKey(@RequestBody SYXBJ syxbj) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/web/syxbjs/{syxbj_id}")
    public SYXBJ update(@PathVariable("syxbj_id") String syxbj_id, @RequestBody SYXBJ syxbj) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/syxbjs")
    public SYXBJ create(@RequestBody SYXBJ syxbj) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/syxbjs/{syxbj_id}")
    public SYXBJ get(@PathVariable("syxbj_id") String syxbj_id) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/syxbjs/fetchdefault")
	public Page<SYXBJ> fetchDefault(SYXBJSearchContext searchContext) ;
}
