package cn.reghao.tnb.message.api.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author reghao
 * @date 2024-09-25 14:02:40
 */
@Getter
@AllArgsConstructor
public class EmailDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    @NotBlank
    private String smtp;
    @NotBlank
    private String username;
    @NotBlank
    private String password;
    @NotBlank
    private String personal;
    private String defaultSender;
}
