CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/BindingModels/MessageInfoBindingModel.cs

31 lines
729 B
C#
Raw Normal View History

2023-05-18 14:45:28 +04:00
using BankYouBankruptDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
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;
}
}