ru.foodtechlab.lib.auth.service.domain.confirmationCode.event.ConfirmationCodeEvent Maven / Gradle / Ivy
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