// This code was generated by net.maritimecloud.common.cqrs.contract.SourceGenerator // Generated Code is based on the contract defined in net.maritimecloud.identityregistry.command.IdentityRegistryContract // Please modify the contract instead of this file! package net.maritimecloud.identityregistry.command.api; import org.axonframework.commandhandling.annotation.TargetAggregateIdentifier; import net.maritimecloud.common.cqrs.contract.Event; import net.maritimecloud.identityregistry.command.user.UserId; /** * GENERATED CLASS! * @see net.maritimecloud.identityregistry.command.IdentityRegistryContract#ResetPasswordKeyGenerated */ @Event public class ResetPasswordKeyGenerated { @TargetAggregateIdentifier private final UserId userId; private final String username; private final String emailAddress; private final String resetPasswordKey; public ResetPasswordKeyGenerated( UserId userId, String username, String emailAddress, String resetPasswordKey ) { this.userId = userId; this.username = username; this.emailAddress = emailAddress; this.resetPasswordKey = resetPasswordKey; } public UserId getUserId() { return userId; } public String getUsername() { return username; } public String getEmailAddress() { return emailAddress; } public String getResetPasswordKey() { return resetPasswordKey; } }