package com.takensoft.cms.mber.service;

import com.takensoft.cms.mber.vo.LgnHstryVO;
import org.springframework.dao.DataAccessException;

import java.util.HashMap;
/**
 * @author 박정하
 * @since 2024.04.09
 * @modification
 *     since    |    author    | description
 *  2024.04.09  |    박정하     | 최초 등록
 *
 * 로그인 이력 관련 인터페이스
 */
public interface LgnHstryService {

    /**
     * @param lgnHstryVO - 로그인 이력 정보
     * @return int - 로그인 이력 결과
     *
     * 로그인 이력 등록
     */
    public int LgnHstrySave(LgnHstryVO lgnHstryVO);

    /**
     * @param params -회원정보
     * @return HashMap<String, Object>
     *  - list : 로그인 이력 목록
     *  - pagination : 페이징 정보
     *  - codeList : 공통 코드 조회(로그인이력)
     *
     * 로그인 이력 목록 조회
     */
    public HashMap<String, Object> lgnHstryList(HashMap<String, String> params);
}