package jnpf.model.attendance.vo.attendance;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DayPayrollStatisticsQueryVo {
    /**
     * id
     */
    private String id;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 考勤组id
     */
    private String groupId;
    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    /**
     * 应计薪小时数
     */
    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 String shiftsJson;
    /**
     * 自定义假期动态Json
     */
    private List<LinkedHashMap<String, Object>> customLeaveList;
}
