PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/ViewModels/LunchViewModel.cs

22 lines
634 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.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.View
{
public class LunchViewModel : ILunchModel
{
public int Id { get; set; }
public int VisitorId { get; set; }
[DisplayName("Название обеда")]
public string LunchName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
public Dictionary<int, (IProductModel, int)> LunchProducts { get; set; } = new();
}
}