package com.sundot.airport.attendance.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sundot.airport.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 考勤记录导入
 *
 * @Author: wangchong
 * @Date: 2025/7/16 14:54
 **/
@Data
public class AttendanceRecordImportVO implements Serializable {
    private static final long serialVersionUID = 2245380666800347159L;

    /**
     * 用户姓名（登录账号）
     */
    @Excel(name = "用户姓名（登录账号）", width = 30, sort = 1)
    private String userName;

    /**
     * 考勤日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤日期（yyyy-MM-dd）", width = 30, dateFormat = "yyyy-MM-dd", sort = 2)
    private Date attendanceDate;

    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间（yyyy-MM-dd HH:mm:ss）", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 3)
    private Date checkInTime;

    /**
     * 签退时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签退时间（yyyy-MM-dd HH:mm:ss）", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 4)
    private Date checkOutTime;

    /**
     * 备注
     */
    @Excel(name = "备注", sort = 5)
    private String remark;
}
