package jnpf.model.attendance.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GroupAttendanceStaticsVo {
    /**
     * 考勤组id
     */
    private String groupId;
    /**
     * 考勤组类型(1-固定班次 2-排班次)
     */
    private Integer groupType;
    /**
     * 出勤换算比(n小时换算为一天)
     */
    private BigDecimal attendanceRatio;
    /**
     * 加班换算比(n小时换算为一天)
     */
    private BigDecimal overtimeRatio;
    /**
     * 应出勤天数
     */
    private Integer attendanceDay = 0;
    /**
     * 应出勤小时数
     */
    private BigDecimal attendanceHours = BigDecimal.ZERO;
    /**
     * 有效出勤天数
     */
    private BigDecimal realityAttendanceDay = BigDecimal.ZERO;
    /**
     * 有效出勤小时数
     */
    private BigDecimal realityAttendanceHours = BigDecimal.ZERO;
    /**
     * 节假日自动排休天数
     */
    private BigDecimal holidayAutoRestDay = BigDecimal.ZERO;
    /**
     * 总天数余额
     */
    private BigDecimal totalBalance = BigDecimal.ZERO;
    /**
     * 计薪假天数
     */
    private BigDecimal paidDay = BigDecimal.ZERO;
    /**
     * 计薪假余额天数
     */
    private BigDecimal paidBalanceDay = BigDecimal.ZERO;
    /**
     * 不计薪假天数
     */
    private BigDecimal unPaidBalance = BigDecimal.ZERO;
    /**
     * 不计薪假余额天数
     */
    private BigDecimal unPaidBalanceDay = BigDecimal.ZERO;
    /**
     * 临期余额天数
     */
    private BigDecimal adventBalanceDay = BigDecimal.ZERO;
    /**
     * 迟到次数
     */
    private Integer lateNum = 0;
    /**
     * 迟到分钟
     */
    private BigDecimal lateMinute = BigDecimal.ZERO;
    /**
     * 早退次数
     */
    private Integer leaveEarlyNum = 0;
    /**
     * 早退分钟
     */
    private BigDecimal leaveEarlyMinute = BigDecimal.ZERO;
    /**
     * 缺卡次数
     */
    private Integer lackCardsNum = 0;
    /**
     * 缺卡小时数
     */
    private BigDecimal lackCardsHours = BigDecimal.ZERO;
    /**
     * 缺勤次数
     */
    private Integer absenceTimes = 0;
    /**
     * 缺勤小时数
     */
    private BigDecimal absenceHours = BigDecimal.ZERO;
}
