PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/ProductBindingModel.cs

23 lines
527 B
C#
Raw Normal View History

2023-04-06 14:34:58 +04:00
using CanteenDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.BindingModels
{
public class ProductBindingModel : IProductModel
{
public string ProductName { get; set; } = string.Empty;
public double Cost { get; set; }
public int ClientId { get; set; }
public Dictionary<int, ICookModel> ProductCooks{ get; set; } = new();
public int Id { get; set; }
}
}