package jnpf.model.attendance.model;

import jnpf.entity.attendance.FtbAttendanceClockIn;
import jnpf.enums.attendance.AttendanceNoticeEnum;
import lombok.*;

import java.util.Date;

/**
 * 极速打卡消息model
 *
 * @author yanwenfu
 * @create 2024-08-12
 */
@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FastClockInNoticeModel extends AttendanceNoticeModel {

    /** 班次时间 */
    private Date workTime;

    /** 打卡信息 */
    private FtbAttendanceClockIn clockIn;

    public void setAttendanceNoticeModel(String userId, String groupId, String tenantId, Date day, AttendanceNoticeEnum attendanceNoticeEnum) {
        super.setUserId(userId);
        super.setGroupId(groupId);
        super.setTenantId(tenantId);
        super.setDay(day);
        super.setAttendanceNoticeEnum(attendanceNoticeEnum);
    }
}
