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

    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/loginaccounts/{loginaccountid}")
    public LoginAccountImpl get(@PathVariable("loginaccountid") String loginaccountid);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/loginaccounts/{loginaccountid}/checkkey")
    public LoginAccountImpl checkKey(@PathVariable("loginaccountid") String loginaccountid,@RequestBody LoginAccountImpl loginaccount);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/loginaccounts/{loginaccountid}/updatepwd")
    public LoginAccountImpl updatePWD(@PathVariable("loginaccountid") String loginaccountid,@RequestBody LoginAccountImpl loginaccount);


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/loginaccounts/{loginaccountid}/save")
    public LoginAccountImpl save(@PathVariable("loginaccountid") String loginaccountid,@RequestBody LoginAccountImpl loginaccount);


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


    @RequestMapping(method = RequestMethod.POST, value = "/baseapi/loginaccounts")
    public LoginAccountImpl create(@RequestBody LoginAccountImpl loginaccount);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/loginaccounts/{loginaccountid}/getdraft")
    public LoginAccountImpl getDraft(@PathVariable("loginaccountid") String loginaccountid,@RequestBody LoginAccountImpl loginaccount);


    @RequestMapping(method = RequestMethod.PUT, value = "/baseapi/loginaccounts/{loginaccountid}")
    public LoginAccountImpl update(@PathVariable("loginaccountid") String loginaccountid,@RequestBody LoginAccountImpl loginaccount);


    @RequestMapping(method = RequestMethod.GET, value = "/baseapi/loginaccounts/fetchgetloginaccount")
    public Page<LoginAccountImpl> fetchGetLoginaccount(SearchContext context);


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



}
