package cn.reghao.autodop.dmaster.notification.model.po;

import lombok.*;

import javax.persistence.Entity;
import javax.validation.constraints.NotBlank;

/**
 * @author reghao
 * @date 2021-06-23 10:29:18
 */
@NoArgsConstructor
@Getter
@Setter
@Entity
public class EmailAccount extends NotifyAccount {
    //private String account;
    //private String password;
    // TODO 验证 HTTP 地址格式
    @NotBlank(message = "SMTP 地址不能为空白字符串")
    private String smtp;
    @NotBlank(message = "邮件显示用户不能为空白字符串")
    private String personal;
}
