package com.sundot.airport.attendance.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sundot.airport.common.annotation.Excel;
import com.sundot.airport.common.core.domain.BaseEntity;

/**
 * 考勤班组成员对象 attendance_team_user_record
 *
 * @author ruoyi
 * @date 2025-09-06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AttendanceTeamUserRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 用户code
     */
    @Excel(name = "用户code")
    @ApiModelProperty("用户code")
    private String userCode;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    @ApiModelProperty("用户名称")
    private String userName;

    /**
     * 航站楼编码
     */
    @Excel(name = "航站楼编码")
    @ApiModelProperty("航站楼编码")
    private String terminlCode;

    /**
     * 航站楼名称
     */
    @Excel(name = "航站楼名称")
    @ApiModelProperty("航站楼名称")
    private String terminlName;

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

    /**
     * 考勤班组ID
     */
    @Excel(name = "考勤班组ID")
    @ApiModelProperty("考勤班组ID")
    private Long attendanceTeamId;

    /**
     * 考勤班组名称
     */
    @Excel(name = "考勤班组名称")
    @ApiModelProperty("考勤班组名称")
    private String attendanceTeamName;

    /**
     * 类型：1-已上通道，2-已下通道
     */
    @Excel(name = "类型：1-已上通道，2-已下通道")
    @ApiModelProperty("类型：1-已上通道，2-已下通道")
    private String checkInType;

    private Date attendanceDateStart;

    private Date attendanceDateEnd;


}
