package cn.ibizlab.r7.runtime.client.org.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.IOrgDeptUser;
import cn.ibizlab.r7.runtime.client.org.model.OrgDeptUserImpl;
import cn.ibizlab.r7.runtime.util.SearchContext;
/**
 * 实体[OrgDeptUser] 服务对象接口
 */
public interface OrgDeptUserFeignClient {

    @RequestMapping(method = RequestMethod.GET, value = "/orgapi/orgdeptusers/{orgdeptuserid}")
    public OrgDeptUserImpl get(@PathVariable("orgdeptuserid") String orgdeptuserid);


    @RequestMapping(method = RequestMethod.GET, value = "/orgapi/orgdeptusers/{orgdeptuserid}/getdraft")
    public OrgDeptUserImpl getDraft(@PathVariable("orgdeptuserid") String orgdeptuserid,@RequestBody OrgDeptUserImpl orgdeptuser);


    @RequestMapping(method = RequestMethod.PUT, value = "/orgapi/orgdeptusers/{orgdeptuserid}")
    public OrgDeptUserImpl update(@PathVariable("orgdeptuserid") String orgdeptuserid,@RequestBody OrgDeptUserImpl orgdeptuser);


    @RequestMapping(method = RequestMethod.POST, value = "/orgapi/orgdeptusers")
    public OrgDeptUserImpl create(@RequestBody OrgDeptUserImpl orgdeptuser);


    @RequestMapping(method = RequestMethod.POST, value = "/orgapi/orgdeptusers/{orgdeptuserid}/save")
    public OrgDeptUserImpl save(@PathVariable("orgdeptuserid") String orgdeptuserid,@RequestBody OrgDeptUserImpl orgdeptuser);


    @RequestMapping(method = RequestMethod.DELETE, value = "/orgapi/orgdeptusers/{orgdeptuserid}")
    public Boolean remove(@PathVariable("orgdeptuserid") String orgdeptuserid);


    @RequestMapping(method = RequestMethod.POST, value = "/orgapi/orgdeptusers/{orgdeptuserid}/checkkey")
    public OrgDeptUserImpl checkKey(@PathVariable("orgdeptuserid") String orgdeptuserid,@RequestBody OrgDeptUserImpl orgdeptuser);


    @RequestMapping(method = RequestMethod.GET, value = "/orgapi/orgdeptusers/fetchdefault")
    public Page<OrgDeptUserImpl> fetchDefault(SearchContext context);


    @RequestMapping(method = RequestMethod.GET, value = "/orgapi/orgdeptusers/fetchgetorgdeptuser")
    public Page<OrgDeptUserImpl> fetchGetorgdeptuser(SearchContext context);



}
