30 lines
738 B
C#
30 lines
738 B
C#
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; }
|
|
|
|
}
|
|
}
|