18 lines
432 B
C#
18 lines
432 B
C#
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();
|
|
}
|
|
}
|
|
|