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

    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledataactions/{userroledataactionid}/save")
    public UserRoleDataActionImpl save(@PathVariable("userroledataactionid") String userroledataactionid,@RequestBody UserRoleDataActionImpl userroledataaction);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledataactions")
    public UserRoleDataActionImpl create(@RequestBody UserRoleDataActionImpl userroledataaction);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/userroledataactions/{userroledataactionid}")
    public UserRoleDataActionImpl update(@PathVariable("userroledataactionid") String userroledataactionid,@RequestBody UserRoleDataActionImpl userroledataaction);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledataactions/{userroledataactionid}/getdraft")
    public UserRoleDataActionImpl getDraft(@PathVariable("userroledataactionid") String userroledataactionid,@RequestBody UserRoleDataActionImpl userroledataaction);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/userroledataactions/{userroledataactionid}")
    public UserRoleDataActionImpl get(@PathVariable("userroledataactionid") String userroledataactionid);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/userroledataactions/{userroledataactionid}/checkkey")
    public UserRoleDataActionImpl checkKey(@PathVariable("userroledataactionid") String userroledataactionid,@RequestBody UserRoleDataActionImpl userroledataaction);


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


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



}
