PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/ViewModels/MessageInfoViewModel.cs

24 lines
635 B
C#
Raw Permalink Normal View History

2024-05-18 14:38:09 +04:00
using TravelCompanyDataModels.Models;
using System.ComponentModel;
namespace TravelCompanyContracts.ViewModels
{
public class MessageInfoViewModel : IMessageInfoModel
{
public string MessageId { get; set; } = string.Empty;
public int? ClientId { get; set; }
[DisplayName("Отправитель")]
public string SenderName { get; set; } = string.Empty;
[DisplayName("Дата письма")]
public DateTime DateDelivery { get; set; }
[DisplayName("Заголовок")]
public string Subject { get; set; } = string.Empty;
[DisplayName("Текст")]
public string Body { get; set; } = string.Empty;
}
}