package com.bonus.system.att.entity;

import com.bonus.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 考勤日报表
 * @author zys
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttDayReportBean {

    /**
     * 打卡地异常人数
     */
    @Excel(name = "打卡地异常人数", sort = 7)
    private Long addressErrorNum;
    /**
     * 考勤日期
     */
    @Excel(name = "考勤日期", sort = 1)
    private String attCurrentDay;
    /**
     * 早退人数
     */
    @Excel(name = "早退人数", sort = 4)
    private Long earlyNum;
    /**
     * 出入异常人数
     */
    @Excel(name = "出入异常人数", sort = 10)
    private Long einErrorNum;
    /**
     * 迟到人数
     */
    @Excel(name = "迟到人数", sort = 3)
    private Long lateNum;
    /**
     * 请假人数
     */
    @Excel(name = "请假人数", sort = 6)
    private Long leaveNum;
    /**
     * 正常打卡人数
     */
    @Excel(name = "正常打卡人数", sort = 2)
    private Long normalNum;
    /**
     * 临时外出人数
     */
    @Excel(name = "临时外出人数", sort = 9)
    private Long outNum;
    /**
     * 轮休人数
     */
    @Excel(name = "轮休人数", sort = 8)
    private Long restNum;
    /**
     * 旷工人数
     */
    @Excel(name = "旷工人数", sort = 5)
    private Long skippingNum;

    /**
     * 组织编号
     */
    private Long orgId;

    /**
     * 开始日期
     */
    private String startDate;

    /**
     * 结束日期
     */
    private String endDate;

    /**
     * 工作时间外出次数
     */
    private Long outCount;

    public AttDayReportBean(String attCurrentDay, Long normalNum, Long lateNum,
                            Long earlyNum, Long skippingNum, Long leaveNum, Long addressErrorNum,
                            Long einErrorNum, Long restNum, Long outNum, Long outCount) {
        this.attCurrentDay = attCurrentDay;
        this.addressErrorNum = addressErrorNum;
        this.earlyNum = earlyNum;
        this.einErrorNum = einErrorNum;
        this.lateNum = lateNum;
        this.leaveNum = leaveNum;
        this.normalNum = normalNum;
        this.outNum = outNum;
        this.restNum = restNum;
        this.skippingNum = skippingNum;
        this.outCount = outCount;
    }
}
