package com.takensoft.cms.mber.dao;

import com.takensoft.cms.mber.vo.LgnHstryVO;
import com.takensoft.cms.popup.vo.PopupVO;
import com.takensoft.common.Pagination;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;

import java.util.List;

/**
 * @author takensoft
 * @since 2024.04.09
 * @modification
 *     since    |    author    | description
 *  2024.04.09  |  takensoft   | 최초 등록
 *
 * 로그인 이력 관련 Mapper
 */
@Mapper("lgnHstryDAO")
public interface LgnHstryDAO {
    /**
     * @param lgnHstryVO - 로그인 이력 정보 관련 VO
     * @return int - 로그인 이력 등록 결과
     *
     * 로그인 이력 등록
     */
    int save(LgnHstryVO lgnHstryVO);

    /**
     * @param pagination - 페이징 정보
     * @return int - 로그인 이력 등록 결과
     *
     * 로그인 이력 등록
     */
    public int selectLgnHstryListCnt(Pagination pagination);

    /**
     * @param pagination - 페이징 정보
     * @return List<LgnHstryVO> - 로그인 이력 목록 조회 결과
     *
     * 로그인 이력 목록 조회
     */
    public List<LgnHstryVO> selectLgnHstryList(Pagination pagination);
}