liyong
2026-07-10 80ddf4c9c0bcb0f6c31524e0d9f5599c8001e904
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package cn.iocoder.yudao.module.hrm.dal.dataobject.attendance;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * 考勤打卡记录 DO
 *
 * @author 芋道源码
 */
@TableName("hrm_attendance_record")
@KeySequence("hrm_attendance_record_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HrmAttendanceRecordDO extends BaseDO {
 
    /**
     * 记录ID
     */
    @TableId
    private Long id;
 
    /**
     * 员工ID
     *
     * 关联 HrmEmployeeDO#getId()
     */
    private Long userId;
 
    /**
     * 部门ID
     */
    private Long deptId;
 
    /**
     * 考勤日期
     */
    private LocalDate date;
 
    /**
     * 上班打卡时间
     */
    private LocalDateTime clockInTime;
 
    /**
     * 下班打卡时间
     */
    private LocalDateTime clockOutTime;
 
    /**
     * 上班打卡类型:1-正常,2-迟到,3-缺卡
     */
    private Integer clockInType;
 
    /**
     * 下班打卡类型:1-正常,2-早退,3-缺卡
     */
    private Integer clockOutType;
 
    /**
     * 工作时长(小时)
     */
    private BigDecimal workHours;
 
    /**
     * 加班时长(小时)
     */
    private BigDecimal overtimeHours;
 
    /**
     * 打卡地点
     */
    private String location;
 
    /**
     * 备注
     */
    private String remark;
 
    /**
     * 数据来源:1-打卡,2-导入
     */
    private Integer dataSource;
 
}