diff --git a/Course/Contracts/BindingModels/DetailBindingModel.cs b/Course/Contracts/BindingModels/DetailBindingModel.cs index ea9d950..2bd13f7 100644 --- a/Course/Contracts/BindingModels/DetailBindingModel.cs +++ b/Course/Contracts/BindingModels/DetailBindingModel.cs @@ -4,8 +4,9 @@ namespace Contracts.BindingModels { public class DetailBindingModel : IDetailModel { - int Id { get; set; } - int UserId { get; set; } - + public int Id { get; set; } + public int UserId { get; set; } + public string Name { get; set; } = string.Empty; + public double Cost { get; set; } } } diff --git a/Course/Contracts/BindingModels/ProductBindingModel.cs b/Course/Contracts/BindingModels/ProductBindingModel.cs new file mode 100644 index 0000000..57e6974 --- /dev/null +++ b/Course/Contracts/BindingModels/ProductBindingModel.cs @@ -0,0 +1,13 @@ +using DataModels.Models; + +namespace Contracts.BindingModels +{ + public class ProductBindingModel : IProductModel + { + public int Id { get; set; } + public int UserId { get; set; } + public string Name { get; set; } = string.Empty; + public double Cost { get; set; } + public Dictionary ProductDetails { get; set; } = new(); + } +} diff --git a/Course/Contracts/BindingModels/ProductionBindingModel.cs b/Course/Contracts/BindingModels/ProductionBindingModel.cs new file mode 100644 index 0000000..5e76313 --- /dev/null +++ b/Course/Contracts/BindingModels/ProductionBindingModel.cs @@ -0,0 +1,14 @@ +using DataModels.Models; + +namespace Contracts.BindingModels +{ + public class ProductionBindingModel : IProductionModel + { + public int Id { get; set; } + public int UserId { get; set; } + public string Name { get; set; } = string.Empty; + public double Cost { get; set; } + public Dictionary ProductionDetails { get; set; } = new(); + + } +}