package com.bcxin.api.interfaces.tenants.requests.employees;

import lombok.Getter;

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

@Getter
public class BatchLeaveEmployeeRequest implements Serializable {
    private final Collection<String> ids;
    private final Date expectedDate;
    private final String note;

    public BatchLeaveEmployeeRequest(Collection<String> ids, Date expectedDate, String note) {
        this.ids = ids;
        this.expectedDate = expectedDate;
        this.note = note;
    }

    public static BatchLeaveEmployeeRequest create(Collection<String> ids, Date expectedDate, String note) {
        return new BatchLeaveEmployeeRequest(ids, expectedDate, note);
    }
}
