智慧保安后台管理-外网
Administrator
2022-06-16 8b375fe00a241b3a769b82fe3dac8d1c9dce8a02
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
 
package org.springblade.modules.attendance.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 考勤打卡实体类
 *
 * @author zhongrj
 * @since 2022-02-28
 */
@Data
@TableName("sys_attendance")
public class Attendance implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 雪花算法,非自增
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
    * 用户id
    */
    private Long userId;
 
    /**
    * 部门id
    */
    private Long deptId;
 
    /**
    * 天气
    */
    private String weather;
 
 
    /**
    * 打卡时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date clockTime;
 
    /**
    * 经度
    */
    private String jd;
 
    /**
    * 纬度
    */
    private String wd;
 
    /**
    * 打卡类型 1:上班 2:下班
    */
    private Integer clockType;
 
    /**
    * 考勤类型 1:正常 2:迟到 3:早退
    */
    private Integer attendanceType;
 
 
    /**
     * 星期
     */
    private String week;
 
    /**
     * 地址
     */
    private String address;
 
    /**
     * 是否为外勤打卡
     */
    private Integer legwork;
 
}