35 lines
918 B
C#
35 lines
918 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace HospitalContracts.BindingModels
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Модель привязки для отправки письма
|
|||
|
/// </summary>
|
|||
|
public class MailSendInfoBindingModel
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Адрес электронной почты
|
|||
|
/// </summary>
|
|||
|
public string MailAddress { get; set; } = string.Empty;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Заголовок письма
|
|||
|
/// </summary>
|
|||
|
public string Subject { get; set; } = string.Empty;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Текст письма
|
|||
|
/// </summary>
|
|||
|
public string Text { get; set; } = string.Empty;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Путь до файла
|
|||
|
/// </summary>
|
|||
|
public string Path { get; set; } = string.Empty;
|
|||
|
}
|
|||
|
}
|