PIbd-22_Isaeva_A.I._FishFac.../FishFactoryContracts/BindingModels/CannedBindingModel.cs

18 lines
503 B
C#
Raw Normal View History

2024-02-05 19:09:54 +04:00
using FishFactoryDataModel.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FishFactoryContracts.BindingModels
{
public class CannedBindingModel : ICannedModel
{
public int Id { get; set; }
public string CannedName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> CannedComponents { get; set; } = new();
}
}