Coursach/Course/Contracts/ViewModels/MachineViewModel.cs

17 lines
493 B
C#
Raw Normal View History

2024-04-27 12:35:20 +04:00
using DataModels.Models;
using System.ComponentModel;
namespace Contracts.ViewModels
{
public class MachineViewModel : IMachineModel
{
public int Id { get; set; }
[DisplayName("Название станка")]
public string Title { get; set; } = string.Empty;
[DisplayName("Страна производитель")]
public string Country { get; set; } = string.Empty;
public int UserId { get; set; }
2024-04-27 22:13:33 +04:00
public Dictionary<int, IWorkerModel>? WorkerMachines { get; set; }
2024-04-27 12:35:20 +04:00
}
}