package com.bonus.system.att.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

    /**
     * 序号
     */
    @Excel(name = "序号", width = 10.0,height = 20.0, orderNum = "0")
    private long id;

    /**
     * 考勤日期
     */
    @Excel(name = "考勤日期", width = 20.0,height = 20.0, orderNum = "1")
    private String attCurrentDay;
    /**
     * 正常打卡人数
     */
    @Excel(name = "正常打卡人数", width = 10.0,height = 20.0, orderNum = "2")
    private Long normalNum;

    /**
     * 迟到人数
     */
    @Excel(name = "迟到人数", width = 10.0,height = 20.0, orderNum = "3")
    private Long lateNum;
    /**
     * 早退人数
     */
    @Excel(name = "早退人数", width = 10.0,height = 20.0, orderNum = "4")
    private Long earlyNum;

    /**
     * 旷工人数
     */
    @Excel(name = "旷工人数", width = 10.0,height = 20.0, orderNum = "5")
    private Long skippingNum;

    /**
     * 请假人数
     */
    @Excel(name = "请假人数", width = 10.0,height = 20.0, orderNum = "6")
    private Long leaveNum;

    /**
     * 打卡地异常人数
     */
    @Excel(name = "打卡地异常人数", width = 10.0,height = 20.0, orderNum = "7")
    private Long addressErrorNum;

    /**
     * 轮休人数
     */
    @Excel(name = "轮休人数", width = 10.0,height = 20.0, orderNum = "8")
    private Long restNum;

    /**
     * 临时外出人数
     */
    @Excel(name = "临时外出人数", width = 10.0,height = 20.0, orderNum = "9")
    private Long outNum;

    /**
     * 出入异常人数
     */
    @Excel(name = "出入异常人数", width = 10.0,height = 20.0, orderNum = "10")
    private Long einErrorNum;


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

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

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

    public AttDayReportExportBean(String attCurrentDay, Long normalNum, Long lateNum,
                                  Long earlyNum, Long skippingNum, Long leaveNum, Long addressErrorNum,
                                  Long einErrorNum, Long restNum, Long outNum) {
        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;
    }
}
