package jnpf.model.attendance.vo.attendance;

import cn.hutool.core.collection.CollUtil;
import jnpf.model.attendance.model.BatchNumberResult;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

import static com.alibaba.fastjson.JSON.parseArray;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MonthPayrollStatisticsQueryVo {
    /**
     * ID
     */
    private String id;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 考勤组id
     */
    private String groupId;
    /**
     * 考勤月份
     */
    private String month;
    /**
     * 已休|应休
     */
    private String retired;
    /**
     * 应计薪小时数
     */
    private BigDecimal shouldAttendPayrollHours = BigDecimal.ZERO;
    /**
     * 有效计薪小时数
     */
    private BigDecimal effectiveAttendPayrollHours = BigDecimal.ZERO;
    /**
     * 实际计薪小时数
     */
    private BigDecimal actualAttendPayrollHours = BigDecimal.ZERO;
    /**
     * 缺卡计薪小时数
     */
    private BigDecimal absenceCardPayrollHours;
    /**
     * 旷工计薪小时数
     */
    private BigDecimal absencePayrollHours;
    /**
     * 请假计薪小时数
     */
    private BigDecimal leavePayrollHours;
    /**
     * 调休计薪小时数
     */
    private BigDecimal compensationPayrollHours;
    /**
     * 自定义假期动态Json
     */
    private List<LinkedHashMap<String, Object>> customLeaveList;
}
