package jnpf.model.attendance.vo.attendance;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "黑体", fontHeightInPoints = 12)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ExceptionSituationPageListVo {
    /**
     * 用户名称
     */
    @ColumnWidth(15)
    @ExcelProperty("姓名")
    private String userName;
    /**
     * 手机号
     */
    @ColumnWidth(15)
    @ExcelProperty("手机号")
    private String phoneNumber;
    /**
     * 考勤组名称
     */
    @ColumnWidth(20)
    @ExcelProperty("考勤组")
    private String groupName;
    /**
     * 正常次数
     */
    @ColumnWidth(15)
    @ExcelProperty("正常次数")
    private Integer normalCount = 0;
    /**
     * 旷工次数
     */
    @ColumnWidth(15)
    @ExcelProperty("旷工次数")
    private Integer absenceCount = 0;
    /**
     * 迟到次数
     */
    @ColumnWidth(15)
    @ExcelProperty("迟到次数")
    private Integer lateCount = 0;
    /**
     * 早退次数
     */
    @ColumnWidth(15)
    @ExcelProperty("早退次数")
    private Integer earlyCount = 0;
    /**
     * 缺卡次数
     */
    @ColumnWidth(15)
    @ExcelProperty("缺卡次数")
    private Integer absenceCardCount = 0;
}
