CourseWork_FurnitureFactory/FurnitureFactory/FurnitureContracts/ViewModel/HeadsetViewModel.cs

27 lines
776 B
C#

using FurnitureFactoryDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.ViewModel
{
public class HeadsetViewModel : IHeadsetModel
{
[DisplayName("Название")]
public string? Title { get; set; } = string.Empty;
[DisplayName("Цена")]
public int Cost { get; set; }
[DisplayName("Размер")]
public string Size { get; set; } = string.Empty;
public int Id { get; set; }
public int HeadsetModuleId { get; set; }
public int ManagerId { get; set; }
public Dictionary<int, ISalesSalonsModel> HeadsetSalesSalons { get; set; }
}
}