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.IUserRoleData;
import cn.ibizlab.r7.runtime.client.base.model.UserRoleDataImpl;
import cn.ibizlab.r7.runtime.util.SearchContext;
/**
 * 实体[UserRoleData] 服务对象接口
 */
public interface UserRoleDataFeignClient {

    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata/{userroledataid}/checkkey")
    public UserRoleDataImpl checkKey(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledata/{userroledataid}/getdraft")
    public UserRoleDataImpl getDraft(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledata/{userroledataid}/getuserroledataapi")
    public UserRoleDataImpl getUserRoleDataAPI(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledata/{userroledataid}")
    public UserRoleDataImpl get(@PathVariable("userroledataid") String userroledataid);


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


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata/{userroledataid}/haspermissiongv")
    public UserRoleDataImpl hasPermissionGV(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata")
    public UserRoleDataImpl create(@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/userroledata/{userroledataid}")
    public UserRoleDataImpl update(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata/{userroledataid}/haspermissionev")
    public UserRoleDataImpl hasPermissionEV(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata/{userroledataid}/save")
    public UserRoleDataImpl save(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledata/{userroledataid}/syncdata")
    public UserRoleDataImpl syncData(@PathVariable("userroledataid") String userroledataid,@RequestBody UserRoleDataImpl userroledata);


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



}
