2023-04-05 22:11:17 +04:00
|
|
|
|
using ComputerStoreDataModels.Models;
|
|
|
|
|
using System;
|
2023-04-05 19:26:00 +04:00
|
|
|
|
using System.Collections.Generic;
|
2023-04-05 22:11:17 +04:00
|
|
|
|
using System.ComponentModel;
|
2023-04-05 19:26:00 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-04-05 21:24:46 +04:00
|
|
|
|
namespace ComputerStoreContracts.ViewModels
|
2023-04-05 19:26:00 +04:00
|
|
|
|
{
|
2023-04-05 22:11:17 +04:00
|
|
|
|
public class RequestViewModel : IRequestModel
|
2023-04-05 19:26:00 +04:00
|
|
|
|
{
|
2023-04-05 22:11:17 +04:00
|
|
|
|
[DisplayName("Request ID")]
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
[DisplayName("Order ID")]
|
2023-05-20 05:52:38 +04:00
|
|
|
|
public int? OrderID { get; set; }
|
2023-04-05 22:11:17 +04:00
|
|
|
|
[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;
|
2023-05-19 16:11:31 +04:00
|
|
|
|
|
|
|
|
|
public List<(IComponentModel, int)> RequestComponents { get; set; } = new();
|
|
|
|
|
}
|
2023-04-05 19:26:00 +04:00
|
|
|
|
}
|