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

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

@Getter
public class NotifyNewUserCommand extends CommandAbstract {
    private final String id;
    private final String eventId;

    public NotifyNewUserCommand(String id, String eventId) {
        this.id = id;
        this.eventId = eventId;
    }

    public static NotifyNewUserCommand create(String id, String eventId) {
        return new NotifyNewUserCommand(id, eventId);
    }
}
