2023-04-05 22:55:55 +04:00
|
|
|
|
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 FurnitureViewModel : IFurnitureModel
|
|
|
|
|
{
|
|
|
|
|
[DisplayName("Название")]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Цвет")]
|
|
|
|
|
|
|
|
|
|
public string Color { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Тип")]
|
|
|
|
|
|
|
|
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public Dictionary<int, IMaterialModel> FurnitureMaterial { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
2023-04-08 00:35:02 +04:00
|
|
|
|
|
|
|
|
|
public int MasterId { get; set; }
|
|
|
|
|
public string MasterName { get; set; } = string.Empty;
|
|
|
|
|
public int OrdersId { get; set; }
|
|
|
|
|
public string OrdersName { get; set; } = string.Empty;
|
|
|
|
|
|
2023-04-05 22:55:55 +04:00
|
|
|
|
}
|
|
|
|
|
}
|