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

    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/usergroupdetails/{usergroupdetailid}")
    public UserGroupDetailImpl get(@PathVariable("usergroupdetailid") String usergroupdetailid);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/usergroupdetails/{usergroupdetailid}/getdraft")
    public UserGroupDetailImpl getDraft(@PathVariable("usergroupdetailid") String usergroupdetailid,@RequestBody UserGroupDetailImpl usergroupdetail);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/usergroupdetails")
    public UserGroupDetailImpl create(@RequestBody UserGroupDetailImpl usergroupdetail);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/usergroupdetails/{usergroupdetailid}/save")
    public UserGroupDetailImpl save(@PathVariable("usergroupdetailid") String usergroupdetailid,@RequestBody UserGroupDetailImpl usergroupdetail);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/usergroupdetails/{usergroupdetailid}/checkkey")
    public UserGroupDetailImpl checkKey(@PathVariable("usergroupdetailid") String usergroupdetailid,@RequestBody UserGroupDetailImpl usergroupdetail);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/usergroupdetails/{usergroupdetailid}")
    public UserGroupDetailImpl update(@PathVariable("usergroupdetailid") String usergroupdetailid,@RequestBody UserGroupDetailImpl usergroupdetail);


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


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



}
