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

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


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


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


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


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


    @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/{orgdeptuserid}/checkkey")
    public OrgDeptUserImpl checkKey(@PathVariable("orgdeptuserid") String orgdeptuserid,@RequestBody OrgDeptUserImpl orgdeptuser);


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


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



}
