что-то подправила в контрактах для message

This commit is contained in:
Елена Бакальская 2024-05-04 19:09:56 +04:00
parent 6bb3ed6d67
commit e8c8552e9b
4 changed files with 8 additions and 20 deletions

View File

@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SushiBarContracts.BindingModel;
using SushiBarContracts.SearchModel;
using SushiBarContracts.ViewModels;
namespace SushiBarContracts.BusinessLogicsContracts
{

View File

@ -11,13 +11,5 @@ namespace SushiBarContracts.SearchModel
public string? MessageId { get; set; }
public int? ClientId { get; set; }
public string? SenderName { get; set; }
public DateTime? DateDelivery { get; set; }
public string? Subject { get; set; }
public string? Body { get; set; }
}
}

View File

@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SushiBarContracts.BindingModel;
using SushiBarContracts.SearchModel;
using SushiBarContracts.ViewModels;
namespace SushiBarContracts.StoragesContracts
{

View File

@ -21,10 +21,10 @@ namespace SushiBarContracts.ViewModels
[DisplayName("Дата получения")]
public DateTime DateDelivery { get; set; } = DateTime.Now;
[DisplayName("Предмет письма")]
[DisplayName("Тема письма")]
public string Subject { get; set; } = string.Empty;
[DisplayName("Тело письма")]
[DisplayName("Душа письма...")]
public string Body { get; set; } = string.Empty;
}
}