package cn.ibizlab.r7.runtime.client.base.feign;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.*;
import cn.ibizlab.r7.runtime.core.client.model.IUserRoleDataScope;
import cn.ibizlab.r7.runtime.client.base.model.UserRoleDataScopeImpl;
import cn.ibizlab.r7.runtime.util.SearchContext;
/**
 * 实体[UserRoleDataScope] 服务对象接口
 */
public interface UserRoleDataScopeFeignClient {

    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledatascopes")
    public UserRoleDataScopeImpl create(@RequestBody UserRoleDataScopeImpl userroledatascope);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledatascopes/{userroledatascopeid}/save")
    public UserRoleDataScopeImpl save(@PathVariable("userroledatascopeid") String userroledatascopeid,@RequestBody UserRoleDataScopeImpl userroledatascope);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledatascopes/{userroledatascopeid}/checkkey")
    public UserRoleDataScopeImpl checkKey(@PathVariable("userroledatascopeid") String userroledatascopeid,@RequestBody UserRoleDataScopeImpl userroledatascope);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledatascopes/{userroledatascopeid}/getdraft")
    public UserRoleDataScopeImpl getDraft(@PathVariable("userroledatascopeid") String userroledatascopeid,@RequestBody UserRoleDataScopeImpl userroledatascope);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/userroledatascopes/{userroledatascopeid}")
    public UserRoleDataScopeImpl update(@PathVariable("userroledatascopeid") String userroledatascopeid,@RequestBody UserRoleDataScopeImpl userroledatascope);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledatascopes/{userroledatascopeid}")
    public UserRoleDataScopeImpl get(@PathVariable("userroledatascopeid") String userroledatascopeid);


    @RequestMapping(method = RequestMethod.DELETE, value = "/baseapi/userroledatascopes/{userroledatascopeid}")
    public Boolean remove(@PathVariable("userroledatascopeid") String userroledatascopeid);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledatascopes/fetchdefault")
    public Page<UserRoleDataScopeImpl> fetchDefault(SearchContext context);



}
