package com.bcxin.tenant.domain.events;

import com.bcxin.Infrastructures.events.DomainEventAbstract;
import com.bcxin.tenant.domain.entities.OrganizationEntity;

public class OrganizationUpdatedEvent extends DomainEventAbstract<OrganizationEntity> {
    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param data
     */
    public OrganizationUpdatedEvent(OrganizationEntity data) {
        super(data);
    }

    public static OrganizationUpdatedEvent create(OrganizationEntity data) {
        return new OrganizationUpdatedEvent(data);
    }
}
