package com.bcxin.tenant.domain.events;

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

/**
 * 用于比如: 消息发送
 */
public class TenantUserAfterCreatedEvent extends DomainEventAbstract<TenantUserEntity> {
    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param data
     */
    public TenantUserAfterCreatedEvent(TenantUserEntity data) {
        super(data);
    }

    public static TenantUserAfterCreatedEvent create(TenantUserEntity data)
    {
        return new TenantUserAfterCreatedEvent(data);
    }
}
