22 lines
621 B
C#
Raw Normal View History

2024-02-12 12:46:44 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TypographyDataModels.Models;
2024-02-12 12:46:44 +04:00
using System.ComponentModel;
namespace TypographyContracts.ViewModels
2024-02-12 12:46:44 +04:00
{
public class PrintedViewModel : IPrintedModel
2024-02-12 12:46:44 +04:00
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string PrintedName { get; set; } = string.Empty;
2024-02-12 12:46:44 +04:00
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> PrintedComponents { get; set; } = new();
2024-02-12 12:46:44 +04:00
}
}