using BankDataModels.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BankContracts.BindingModels.Messages { // Реализация сущности "Сообщение" public class MessageInfoBindingModel : IMessageInfoModel { public int Id { get; set; } public string MessageId { get; set; } = string.Empty; public int? ClientId { get; set; } public string SenderName { get; set; } = string.Empty; public DateTime DateDelivery { get; set; } = DateTime.Now; public string Subject { get; set; } = string.Empty; public string Body { get; set; } = string.Empty; // Для ответа public bool IsRead { get; set; } = false; public string? Answer { get; set; } = string.Empty; } }