убрала комментарии

This commit is contained in:
Kristina 2024-06-03 15:14:13 +04:00
parent 2a801a8f13
commit 351cd79301
4 changed files with 1 additions and 50 deletions

View File

@ -11,15 +11,6 @@ namespace BlacksmithWorkshopContracts.ViewModels
{
public class ImplementerViewModel : IImplementerModel
{
//public int Id { get; set; }
//[DisplayName("ФИО исполнителя")]
//public string ImplementerFIO { get; set; } = string.Empty;
//[DisplayName("Стаж работы")]
//public int WorkExperience { get; set; } = 0;
//[DisplayName("Квалификация")]
//public int Qualification { get; set; } = 0;
//[DisplayName("Пароль")]
//public string Password { get; set; } = string.Empty;
[Column(visible: false)]
public int Id { get; set; }
[Column("FIO", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]

View File

@ -11,16 +11,6 @@ namespace BlacksmithWorkshopContracts.ViewModels
{
public class ManufactureViewModel : IManufactureModel
{
//public int Id { get; set; }
//[DisplayName("Название кузнечного изделия")]
//public string ManufactureName { get; set; } = string.Empty;
//[DisplayName("Цена")]
//public double Price { get; set; }
//public Dictionary<int, (IComponentModel, int)> ManufactureComponents
//{
// get;
// set;
//} = new();
[Column(visible: false)]
public int Id { get; set; }
[Column("Wood's name", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]

View File

@ -11,16 +11,7 @@ namespace BlacksmithWorkshopContracts.ViewModels
{
public class MessageInfoViewModel : IMessageInfoModel
{
//public string MessageId { get; set; } = string.Empty;
//public int? ClientId { get; set; }
//[DisplayName("Отправитель")]
//public string SenderName { get; set; } = string.Empty;
//[DisplayName("Дата письма")]
//public DateTime DateDelivery { get; set; }
//[DisplayName("Заголовок")]
//public string Subject { get; set; } = string.Empty;
//[DisplayName("Текст")]
//public string Body { get; set; } = string.Empty;
[Column(visible: false)]
public string MessageId { get; set; } = string.Empty;
[Column(visible: false)]

View File

@ -12,27 +12,6 @@ namespace BlacksmithWorkshopContracts.ViewModels
{
public class OrderViewModel : IOrderModel
{
//[DisplayName("Номер")]
//public int Id { get; set; }
//public int? ImplementerId { get; set; } = null;
//public int ClientId { get; set; }
//[DisplayName("Клиент")]
//public string ClientFIO { get; set; } = string.Empty;
//public int ManufactureId { get; set; }
//[DisplayName("Кузнечное изделие")]
//public string ManufactureName { get; set; } = string.Empty;
//[DisplayName("Количество")]
//public int Count { get; set; }
//[DisplayName("Сумма")]
//public double Sum { get; set; }
//[DisplayName("Статус")]
//public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
//[DisplayName("Исполнитель")]
//public string ImplementerFIO { get; set; } = string.Empty;
//[DisplayName("Дата создания")]
//public DateTime DateCreate { get; set; } = DateTime.Now;
//[DisplayName("Дата выполнения")]
//public DateTime? DateImplement { get; set; }
[Column("Number", gridViewAutoSize: GridViewAutoSize.AllCells, isUseAutoSize: true)]
public int Id { get; set; }