2023-03-13 18:39:11 +04:00
|
|
|
|
using ConfectioneryDataModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConfectioneryContracts.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;
|
2023-03-18 01:42:57 +04:00
|
|
|
|
|
2023-03-18 05:10:51 +04:00
|
|
|
|
[DisplayName("Прочитано")]
|
2023-03-18 01:42:57 +04:00
|
|
|
|
public bool HasRead { get; set; }
|
2023-03-18 05:10:51 +04:00
|
|
|
|
|
2023-03-18 06:54:05 +04:00
|
|
|
|
[DisplayName("Ответ")]
|
|
|
|
|
public string? Reply { get; set; }
|
2023-03-18 01:42:57 +04:00
|
|
|
|
}
|
2023-03-13 18:39:11 +04:00
|
|
|
|
}
|