package org.springblade.attence.record.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.attence.record.entity.Record;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Data
@ApiModel(value = "员工打卡统计", description = "员工打卡统计")
public class MyStatisticalVo {

	@ApiModelProperty("出勤天数")
	private long attendanceDays;

	@ApiModelProperty("正常记录")
	private List<Record> normalRecord;

	@ApiModelProperty("正常记录分组")
	private Map<LocalDate, List<Record>> normalRecordGroupingBy;

	@ApiModelProperty("迟到记录")
	private List<Record> LateRecord;

	@ApiModelProperty("早退记录")
	private List<Record> earlyRecord;

	@ApiModelProperty("缺卡记录分组")
	private Map<LocalDate, List<Record>> lackRecordGroupingBy;

	@ApiModelProperty("出差记录")
	private List<Record> outWorkRecord;

	@ApiModelProperty("出差分组记录")
	private Map<LocalDate, List<Record>> outWorkRecordGroupingBy;

}
