package com.zioinfo.hrm.dashboard;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DashboardMapper {
    Map<String, Object> getKpiSummary();
    List<Map<String, Object>> getHeadcountTrend(@Param("months") int months);
    List<Map<String, Object>> getDeptHeadcount();
    Map<String, Object> getAttendanceToday();
    Map<String, Object> getPayrollSummary(@Param("year") int year, @Param("month") int month);
    List<Map<String, Object>> getRecruitmentPipeline();
    List<Map<String, Object>> getPendingApprovals();
}
