39 lines
911 B
C#
39 lines
911 B
C#
using System.Collections.Generic;
|
|
|
|
namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Output;
|
|
|
|
/// <summary>
|
|
/// 邮件项
|
|
/// </summary>
|
|
public class EmailItem
|
|
{
|
|
/// <summary>
|
|
/// 接收人邮箱
|
|
/// </summary>
|
|
public string RecipientEmail { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 邮件主题
|
|
/// </summary>
|
|
public string Subject { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 邮件内容
|
|
/// </summary>
|
|
public string Content { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 是否HTML格式
|
|
/// </summary>
|
|
public bool IsHtml { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// 附件文件路径列表
|
|
/// </summary>
|
|
public List<string> Attachments { get; set; } = new List<string>();
|
|
|
|
/// <summary>
|
|
/// 个性化变量
|
|
/// </summary>
|
|
public Dictionary<string, string> Variables { get; set; } = new Dictionary<string, string>();
|
|
} |