package com.ruoyi.bgt.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("App包工头总体考勤视图对象")
public class BgtAttendanceDetailVO {

	@ApiModelProperty("务工者Id")
	private Long userId;

	@ApiModelProperty("姓名")
	private String username;

	@ApiModelProperty("头像")
	private String avatarName;

	@ApiModelProperty("进场时间")
	private LocalDate entryTime;

	@ApiModelProperty("选择状态（0未选择 1已选择）")
	private String status;

	@ApiModelProperty("出勤天数")
	private Double dayNum=0D;

	@ApiModelProperty("迟到次数")
	private Integer lateNum = 0;

	@ApiModelProperty("迟到分钟")
	private Integer lateMinute = 0;

	@ApiModelProperty("迟到记录")
	private List<WgzAttendanceRecordVO> lateRecords;

	@ApiModelProperty("早退次数")
	private Integer earlyLeaveNum = 0;

	@ApiModelProperty("早退分钟")
	private Integer earlyLeaveMinute = 0;

	@ApiModelProperty("早退记录")
	private List<WgzAttendanceRecordVO> earlyLeaveRecords;

	@ApiModelProperty("缺卡次数")
	private Integer missNum = 0;

	@ApiModelProperty("缺卡记录")
	private List<WgzAttendanceRecordVO> missRecords;

	@ApiModelProperty("考勤记录")
	private List<WgzAttendanceRecordVO> records;

}
