package com.bcxin.tenant.domain.services.commands;

import com.bcxin.Infrastructures.commands.CommandAbstract;
import lombok.Getter;

@Getter
public class DeleteDepartmentCommand extends CommandAbstract {
    private final String id;
    private final String organizationId;

    public DeleteDepartmentCommand(String organizationId,String id) {
        this.organizationId = organizationId;
        this.id = id;
    }

    public static DeleteDepartmentCommand create( String organizationId,String id) {
        return new DeleteDepartmentCommand(organizationId,id);
    }
}
