PIbd-22_Chernyshev_G.J._30_.../GarmentFactoryContracts/ViewModels/TextileViewModel.cs
2024-03-06 09:21:43 +04:00

21 lines
630 B
C#

using GarmentFactoryDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GarmentFactoryContracts.ViewModels
{
public class TextileViewModel : ITextileModel
{
public int Id { get; set; }
[DisplayName("Название текстиля")]
public string TextileName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> TextileComponents { get; set; } = new();
}
}