package com.bcxin.tenant.open.domains.services.commands;

import com.bcxin.tenant.open.infrastructures.commands.CommandAbstract;
import com.bcxin.tenant.open.infrastructures.enums.RollCallStatus;
import lombok.Getter;

@Getter
public class CancelRollCallEmployeeCommand extends CommandAbstract {

    private final RollCallStatus callStatus;

    public CancelRollCallEmployeeCommand(RollCallStatus callStatus) {
        this.callStatus = callStatus;
    }

    public static CancelRollCallEmployeeCommand create(RollCallStatus callStatus) {
        return new CancelRollCallEmployeeCommand(callStatus);
    }
}
