package com.sinosig.web.module.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.sinosig.web.module.domain.SJZD;
import com.sinosig.web.module.filter.*;


public interface SJZDFeignClient {



	@RequestMapping(method = RequestMethod.PUT, value = "/web/sjzds/{sjzd_id}")
    public SJZD update(@PathVariable("sjzd_id") String sjzd_id, @RequestBody SJZD sjzd) ;

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

	@RequestMapping(method = RequestMethod.GET, value = "/web/sjzds/{sjzd_id}/getdraft")
    public SJZD getDraft(@PathVariable("sjzd_id") String sjzd_id, @RequestBody SJZD sjzd) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/sjzds/{sjzd_id}")
    public SJZD get(@PathVariable("sjzd_id") String sjzd_id) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzds/checkkey")
    public Boolean checkKey(@RequestBody SJZD sjzd) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzds")
    public SJZD create(@RequestBody SJZD sjzd) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzds/{sjzd_id}/save")
    public SJZD save(@PathVariable("sjzd_id") String sjzd_id, @RequestBody SJZD sjzd) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/sjzds/fetchdefault")
	public Page<SJZD> fetchDefault(SJZDSearchContext searchContext) ;
}
