CourseWork_FurnitureFactory/FurnitureFactory/FurnitureContracts/ViewModel/HeadsetViewModel.cs

29 lines
858 B
C#
Raw Normal View History

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
{
2023-04-05 22:59:20 +04:00
public class HeadsetViewModel : IHeadsetModel
{
[DisplayName("Название")]
public string? Title { get; set; } = string.Empty;
2023-04-05 22:55:55 +04:00
[DisplayName("Цена")]
public int Cost { get; set; }
2023-05-18 17:03:38 +04:00
[DisplayName("Дата создания")]
public DateTime DateCreate { get; set; }
2023-05-18 17:03:38 +04:00
[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; }
}
}