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


public interface TBYDKFeignClient {



	@RequestMapping(method = RequestMethod.POST, value = "/web/tbydks")
    public TBYDK create(@RequestBody TBYDK tbydk) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/tbydks/{tbydk_id}")
    public TBYDK get(@PathVariable("tbydk_id") String tbydk_id) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/web/tbydks/{tbydk_id}")
    public TBYDK update(@PathVariable("tbydk_id") String tbydk_id, @RequestBody TBYDK tbydk) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/tbydks/checkkey")
    public Boolean checkKey(@RequestBody TBYDK tbydk) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/tbydks/{tbydk_id}/save")
    public TBYDK save(@PathVariable("tbydk_id") String tbydk_id, @RequestBody TBYDK tbydk) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/tbydks/{tbydk_id}/getdraft")
    public TBYDK getDraft(@PathVariable("tbydk_id") String tbydk_id, @RequestBody TBYDK tbydk) ;

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

    @RequestMapping(method= RequestMethod.GET , value="/web/tbydks/fetchdefault")
	public Page<TBYDK> fetchDefault(TBYDKSearchContext searchContext) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/tbydks/fetchjqx")
	public Page<TBYDK> fetchJQX(TBYDKSearchContext searchContext) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/tbydks/fetchsyx")
	public Page<TBYDK> fetchSYX(TBYDKSearchContext searchContext) ;
}
