Coursework_ComputerStore_Li.../ComputerStoreContracts/ViewModels/ConsignmentViewModel.cs

23 lines
582 B
C#

using ComputerStoreDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreContracts.ViewModels
{
public class ConsignmentViewModel : IConsignmentModel
{
[DisplayName("Order ID")]
public int OrderID { get; }
[DisplayName("Product ID")]
public int ProductID { get; }
[DisplayName("Price")]
public double Price { get; }
[DisplayName("Count")]
public int Count { get; }
}
}