
package org.sky.scientific.excel;


import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import org.sky.scientific.pojo.vo.DailyAttendance;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * 人员月度考勤
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class AttendanceMonthlyExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	private Integer serialNumber;  // 序号
	private String name;           // 姓名
	private String number;     // 工号
	private String idCard;         // 身份证号码
	private String personnelType;   // 科研人员类别
	private List<DailyAttendance> dailyAttendances = new ArrayList<>(); // 每日考勤数据
	private Double monthlyHours;   // 本月出勤/小时
	private Double monthlyDays;    // 本月出勤/天

}
