Добавил view модель письма

This commit is contained in:
Никита Потапов 2024-05-05 12:50:52 +04:00
parent b92ffdc441
commit 07883d6769

View File

@ -0,0 +1,20 @@
using SecuritySystemDataModels.Models;
using System.ComponentModel;
namespace SecuritySystemContracts.ViewModels
{
public class MessageInfoViewModel : IMessageInfoModel
{
[DisplayName("Идентификатор")]
public string MessageId { get; set; } = string.Empty;
public int? ClientId { get; set; } = null;
[DisplayName("Отправитель")]
public string SenderName { get; set; } = string.Empty;
[DisplayName("Дата получения")]
public DateTime DateDelivery { get; set; } = DateTime.Now;
[DisplayName("Тема")]
public string Subject { get; set; } = string.Empty;
[DisplayName("Текст")]
public string Body { get; set; } = string.Empty;
}
}