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

ru.foodtechlab.lib.auth.service.domain.confirmationCode.event.ConfirmationCodeEvent Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package ru.foodtechlab.lib.auth.service.domain.confirmationCode.event;

import com.rcore.event.driven.AbstractEvent;
import lombok.Getter;
import ru.foodtechlab.lib.auth.service.domain.confirmationCode.entity.ConfirmationCodeEntity;

import java.time.Instant;

@Getter
public class ConfirmationCodeEvent extends AbstractEvent {

    private final ConfirmationCodeEntity confirmationCode;

    public ConfirmationCodeEvent(String traceId, ConfirmationCodeEntity confirmationCode) {
        super(traceId);
        this.confirmationCode = confirmationCode;
    }

    public ConfirmationCodeEvent(String traceId, Instant date, ConfirmationCodeEntity confirmationCode) {
        super(traceId, date);
        this.confirmationCode = confirmationCode;
    }

    public ConfirmationCodeEvent(Instant date, ConfirmationCodeEntity confirmationCode) {
        super(date);
        this.confirmationCode = confirmationCode;
    }

    public ConfirmationCodeEvent(ConfirmationCodeEntity confirmationCode) {
        this.confirmationCode = confirmationCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy