package com.ruoyi.zhushi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("dk_check_in_record")
public class DkCheckInRecord  extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    // 用户id
    @TableField(value = "`sys_user_id`")
    private Long sysUserId;

    // 用户姓名
    @TableField(value = "`sys_user_name`")
    private String sysUserName;

    // 打卡时间
    @TableField(value = "`check_in_time`")
    private LocalDateTime checkInTime;

    // 纬度
    @TableField(value = "`latitude`")
    private String latitude;

    //经度
    @TableField(value = "`longitude`")
    private String longitude;

    // 打卡状态
    @TableField(value = "`check_in_status`")
    private String checkInStatus;

    // 打卡类型
    @TableField(value = "`check_in_type`")
    private String checkInType;

    // 上班打卡时间
    @TableField(value = "`clock_in`")
    private LocalDateTime clockIn;

    // 上班打卡状态
    @TableField(value = "`clock_in_status`")
    private String clockInStatus;

    // 下班打卡状态
    @TableField(value = "`clock_out_status`")
    private String clockOutStatus;

    // 下班打卡时间
    @TableField(value = "`clock_out`")
    private LocalDateTime clockOut;

    // 打卡月
    @TableField(value = "`month`")
    private int month;

    // 打卡周
    @TableField(value = "`week`")
    private String week;

    // 打卡日
    @TableField(value = "`day`")
    private int day;

    // 描述
    @TableField(value = "`description`")
    private String description;
}
