You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB
C#

namespace DS.WMS.MainApi.Models
{
/// <summary>
/// 自定义邮件发送模型
/// </summary>
public class SendMailModel
{
/// <summary>
/// 邮件标题
/// </summary>
public string? Title { get; set; }
/// <summary>
/// 邮件正文
/// </summary>
public string? Content { get; set; }
/// <summary>
/// 邮件接收人
/// </summary>
public string[]? Receivers { get; set; }
/// <summary>
/// 附件
/// </summary>
public Attachment[]? Attachments { get; set; }
}
/// <summary>
/// 邮件附件
/// </summary>
public class Attachment
{
/// <summary>
/// 附件文件名
/// </summary>
public string? FileName { get; set; }
/// <summary>
/// 附件URL
/// </summary>
public string Url { get; set; } = string.Empty;
/// <summary>
/// 附件的BASE64字符串表示
/// </summary>
public string? Base64 { get; set; }
}
}