Coursework_ComputerStore_Li.../ComputerStoreContracts/ViewModels/RequestViewModel.cs

27 lines
684 B
C#
Raw Normal View History

2023-04-05 22:11:17 +04:00
using ComputerStoreDataModels.Models;
using System;
using System.Collections.Generic;
2023-04-05 22:11:17 +04:00
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreContracts.ViewModels
{
2023-04-05 22:11:17 +04:00
public class RequestViewModel : IRequestModel
{
2023-04-05 22:11:17 +04:00
[DisplayName("Request ID")]
public int ID { get; set; }
[DisplayName("Order ID")]
public int OrderID { get; set; }
[DisplayName("Price")]
public double Price { get; set; }
2023-04-07 20:46:13 +04:00
[DisplayName("PC ID")]
2023-04-09 01:07:38 +04:00
public int? PCID { get; set; }
[DisplayName("PC's name")]
2023-05-17 17:57:25 +04:00
public string? PCName { get; set; } = string.Empty;
}
}