2024-04-07 16:54:02 +04:00
|
|
|
|
using SoftwareInstallationDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace SoftwareInstallationContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class PackageBindingModel : IPackageModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
public string PackageName { get; set; } = string.Empty;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
2024-04-07 16:54:02 +04:00
|
|
|
|
public double Price { get; set; }
|
2024-05-12 14:38:32 +04:00
|
|
|
|
|
|
|
|
|
public Dictionary<int, (IComponentModel, int)> PackageComponents
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2024-04-07 16:54:02 +04:00
|
|
|
|
}
|
2024-05-12 14:38:32 +04:00
|
|
|
|
}
|