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:55
 **/
@Data
public class AttendancePostRecordImportVO implements Serializable {
    private static final long serialVersionUID = 4927088909940841778L;

    /**
     * 用户名称
     */
    @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 = "班组（机构站/大队/科室/班组）", width = 30, sort = 5)
    private String attendanceTeamName;

    /**
     * 通道名称
     */
    @Excel(name = "通道（航站楼/区域/通道）", width = 30, sort = 6)
    private String channelName;

    /**
     * 岗位名称
     */
    @Excel(name = "岗位名称", width = 30, sort = 7)
    private String positionName;

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