Coursework_ComputerStore_Li.../ComputerStoreContracts/ViewModels/RequestComponentViewModel.cs

30 lines
738 B
C#
Raw Normal View History

2023-05-17 17:58:35 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreContracts.ViewModels
{
public class RequestComponentViewModel
{
[DisplayName("RequestID")]
public int RequestID { get; set; }
[DisplayName("ComponentID")]
public int ComponentID { get; set; }
[DisplayName("Component's name")]
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Component's count")]
public int ComponentCount { get; set; }
[DisplayName("PCID")]
public int PCID { get; set; }
}
}