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