using System;

namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Output;

/// <summary>
/// 发送邮件输出
/// </summary>
public class SendEmailOutput
{
    /// <summary>
    /// 是否发送成功
    /// </summary>
    public bool IsSuccess { get; set; }

    /// <summary>
    /// 错误消息
    /// </summary>
    public string? ErrorMessage { get; set; }

    /// <summary>
    /// 发送时间
    /// </summary>
    public DateTime SendTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 接收人邮箱
    /// </summary>
    public string RecipientEmail { get; set; } = "";

    /// <summary>
    /// 邮件主题
    /// </summary>
    public string Subject { get; set; } = "";
}