package com.ruoyi.inspect.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Data
|
public class StaffAttendanceVO {
|
|
/**
|
* 上班数据主键id
|
*/
|
private Long workDataId;
|
|
/**
|
* 下班数据主键id
|
*/
|
private Long offWorkDataId;
|
|
/**
|
* 人员编号
|
*/
|
private String personCode;
|
|
/**
|
* 人员名称
|
*/
|
private String personName;
|
|
/**
|
*部门名称
|
*/
|
private String deptName;
|
|
/**
|
*班次id
|
*/
|
private String shiftId;
|
|
/**
|
*考勤结果
|
*/
|
private Integer result;
|
|
/**
|
*考勤时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDateTime swingDate;
|
|
/**
|
*上班时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime workDateTime;
|
|
/**
|
*下班时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime offWorkDateTime;
|
|
/**
|
*上班打卡状态(0:正常,1:异常)
|
*/
|
private Integer workClockInState;
|
|
/**
|
*下班打卡状态(0:正常,1:异常)
|
*/
|
private Integer offClockInState;
|
|
/**
|
* 应勤时长
|
*/
|
private Double plannedWorkHours;
|
|
/**
|
* 实际时长
|
*/
|
private Double actualWorkHours;
|
|
/**
|
* 缺勤时长
|
*/
|
private Double absenceWorkHours;
|
|
/**
|
* 是否为同步数据
|
*/
|
private Integer isSync;
|
|
private Integer createUser;
|
|
private LocalDateTime createTime;
|
|
private Integer updateUser;
|
|
private LocalDateTime updateTime;
|
|
|
}
|