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 OvertimeSituationPageListVo {
    /**
     * 日期
     */
    @ColumnWidth(15)
    @ExcelProperty("日期")
    private String day;
    /**
     * 考勤组名称
     */
    @ColumnWidth(20)
    @ExcelProperty("考勤组")
    private String groupName;
    /**
     * 平均加班时长(小时)
     */
    @ColumnWidth(20)
    @ExcelProperty("平均加班时长(小时)")
    private BigDecimal avgOvertimeHours = BigDecimal.ZERO;
    /**
     * 同比(%)
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "同比(%)")
    private BigDecimal yearOnYear;
    /**
     * 环比(%)
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "环比(%)")
    private BigDecimal annulus;
}
