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

io.rocketbase.commons.event.EmailChangeEvent 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 EmailChangeEvent extends ApplicationEvent {

    private final String oldEmailAddress;
    private final AppUserEntity appUserEntity;


    public EmailChangeEvent(Object source, String oldEmailAddress, AppUserEntity appUserEntity) {
        super(source);
        this.oldEmailAddress = oldEmailAddress;
        this.appUserEntity = appUserEntity;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy