All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rocketbase.commons.event.RegistrationEvent Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
package io.rocketbase.commons.event;

import io.rocketbase.commons.model.AppUserEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class RegistrationEvent extends ApplicationEvent {

    private final AppUserEntity appUserEntity;
    private final RegistrationProcessType type;

    public RegistrationEvent(Object source, AppUserEntity appUserEntity, RegistrationProcessType type) {
        super(source);
        this.appUserEntity = appUserEntity;
        this.type = type;
    }

    public enum RegistrationProcessType {
        REGISTER,
        VERIFIED
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy