using InternetShopDataModels.Models; using System.ComponentModel; namespace InternetShopContracts.DataViewModels { public class OrderViewModel : IOrderModel { [DisplayName("ФИО заказчика")] public string CustomerFIO { get; set; } = string.Empty; [DisplayName("Email заказчика")] public string CustomerEmail { get; set; } = string.Empty; [DisplayName("Изображение")] public string ImagePath { get; set; } = string.Empty; [DisplayName("Товары")] public List ProductNames { get; set; } = new List(); [DisplayName("ID")] public int Id { get; set; } public string ProductsString => string.Join(", ", ProductNames); } }