PIbd-23_Starostin_I.K._Ship.../ShipyardContracts/BindingModels/ShipBindingModel.cs

18 lines
432 B
C#
Raw Normal View History

2024-04-27 18:25:24 +04:00
using ShipyardDataModels.Models;
namespace ShipyardContracts.BindingModels
{
public class ShipBindingModel : IShipModel
{
public int Id { get; set; }
public string ShipName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> ShipComponents
{
get;
set;
} = new();
}
}