PIbd-21_MasenkinMS_Coursewo.../Hospital/HospitalContracts/BindingModels/MailSendInfoBindingModel.cs

35 lines
918 B
C#
Raw Permalink Normal View History

2024-05-27 01:52:34 +04:00
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;
}
}