package com.sundot.airport.exam.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * <b>功能名：</b>ClockInEvent<br>
 * <b>说明：</b> 考勤打卡事件 <br>
 * <b>著作权：</b> Copyright (C) 2025 SUNDOT CORPORATION<br>
 * <b>修改履历：
 *
 * @author Simon Lin
 */
@Getter
public class ClockInEvent extends ApplicationEvent {

    /**
     * 用户ID
     */
    private final Long userId;

    /**
     * 部门ID
     */
    private final Long deptId;

    public ClockInEvent(Object source, Long userId, Long deptId) {
        super(source);
        this.userId = userId;
        this.deptId = deptId;
    }
}
