package de.thpeetz.kontor.mailclient.data;

import de.thpeetz.kontor.common.data.AbstractEntity;
import jakarta.persistence.Entity;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Getter
@Setter
@Entity
public class MailAccount extends AbstractEntity {

    @NotEmpty
    private String host;

    private Integer port;

    @NotEmpty
    private String protocol;

    private String userName;

    private String password;

    private Boolean startTls;
}
