| | |
| | | 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; |
| | | |
| | | /** |
| | | * 考勤打卡实体类 |
| | |
| | | */ |
| | | @Data |
| | | @TableName("sys_attendance") |
| | | @ApiModel(value = "Attendance对象", description = "Attendance对象") |
| | | public class Attendance implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | /** |
| | | * 雪花算法,非自增 |
| | | */ |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 姓名 |
| | | * 用户id |
| | | */ |
| | | private String name; |
| | | /** |
| | | * 编号 |
| | | */ |
| | | private String number; |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 部门 |
| | | * 部门id |
| | | */ |
| | | private String department; |
| | | private Long deptId; |
| | | |
| | | /** |
| | | * 天气 |
| | |
| | | /** |
| | | * 打卡时间 |
| | | */ |
| | | private String clockTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date clockTime; |
| | | |
| | | /** |
| | | * 经度 |
| | | */ |
| | |
| | | private String wd; |
| | | |
| | | /** |
| | | * 打卡类型 0:上班 1:下班 |
| | | * 打卡类型 1:上班 2:下班 |
| | | */ |
| | | private String clocktype; |
| | | private Integer clockType; |
| | | |
| | | /** |
| | | * 考勤类型 0:正常 1:迟到 2:早退 3:外勤 |
| | | * 考勤类型 1:正常 2:迟到 3:早退 |
| | | */ |
| | | private String attendancetype; |
| | | private Integer attendanceType; |
| | | |
| | | |
| | | /** |
| | | * 星期 |
| | | */ |
| | | private String week; |
| | | |
| | | /** |
| | | * 地址 |
| | | */ |
| | | private String address; |
| | | |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | /** |
| | | * 是否为外勤打卡 |
| | | */ |
| | | private Integer legwork; |
| | | |
| | | } |