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

    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledatas/{userroledatasid}/save")
    public UserRoleDatasImpl save(@PathVariable("userroledatasid") String userroledatasid,@RequestBody UserRoleDatasImpl userroledatas);


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


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/userroledatas/{userroledatasid}")
    public UserRoleDatasImpl update(@PathVariable("userroledatasid") String userroledatasid,@RequestBody UserRoleDatasImpl userroledatas);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledatas/{userroledatasid}/checkkey")
    public UserRoleDatasImpl checkKey(@PathVariable("userroledatasid") String userroledatasid,@RequestBody UserRoleDatasImpl userroledatas);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledatas/{userroledatasid}")
    public UserRoleDatasImpl get(@PathVariable("userroledatasid") String userroledatasid);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledatas/{userroledatasid}/getdraft")
    public UserRoleDatasImpl getDraft(@PathVariable("userroledatasid") String userroledatasid,@RequestBody UserRoleDatasImpl userroledatas);


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


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



}
