PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/ViewModels/MessageInfoViewModel .cs

25 lines
813 B
C#
Raw Normal View History

2024-05-05 00:23:11 +04:00
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;
2024-05-05 23:46:21 +04:00
[DisplayName("Readed")]
public bool IsReaded { get; set; }
[DisplayName("Reply")]
public string? Reply { get; set; }
2024-05-05 00:23:11 +04:00
}
}