ru.foodtechlab.lib.auth.service.domain.credential.entity.Email Maven / Gradle / Ivy
package ru.foodtechlab.lib.auth.service.domain.credential.entity;
import lombok.Data;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@Data
public class Email {
private String value;
private boolean isConfirmed;
public Email(String value, boolean isConfirmed) {
this.value = value != null ? value.toLowerCase() : null;
this.isConfirmed = isConfirmed;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy