package com.ruoyi.zhushi.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ExcelIgnoreUnannotated
public class DkCheckInRecordDTO extends BaseEntity {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
//    @ExcelProperty(value = "主键ID")
    private String id;

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

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

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

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

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

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

    private String exportRange;

    private String strDay;

    private String strMonth;

    private LocalDateTime clockIn;

    private LocalDateTime clockOut;

    private String clockInStatus;

    private String clockOutStatus;

    private String description;

    private int month;

    private String week;

    private int day;

    // 模版类型
    private String modelType;
}
