PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/ViewModels/MessageInfoViewModel .cs
2024-05-05 23:46:21 +04:00

25 lines
813 B
C#

using AutomobilePlantDataModels.Models;
using System.ComponentModel;
namespace AutomobilePlantContracts.ViewModels
{
public class MessageInfoViewModel : IMessageInfoModel
{
public string MessageId { get; set; } = string.Empty;
public int? ClientId { get; set; }
[DisplayName("Sender")]
public string SenderName { get; set; } = string.Empty;
[DisplayName("Delivery Date")]
public DateTime DateDelivery { get; set; }
[DisplayName("Subject")]
public string Subject { get; set; } = string.Empty;
[DisplayName("Body")]
public string Body { get; set; } = string.Empty;
[DisplayName("Readed")]
public bool IsReaded { get; set; }
[DisplayName("Reply")]
public string? Reply { get; set; }
}
}