Coursework_ComputerStore_Li.../ComputerStoreDataModels/Models/IPCModel.cs

20 lines
520 B
C#
Raw Normal View History

2023-04-05 18:59:50 +04:00
using System;
using System.Collections.Generic;
2023-04-09 03:17:58 +04:00
using System.ComponentModel.DataAnnotations;
2023-04-05 18:59:50 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreDataModels.Models
{
public interface IPCModel : IID
2023-04-05 18:59:50 +04:00
{
2023-04-09 03:17:58 +04:00
[MaxLength(255)]
public string Name { get; }
public double Price { get; }
public int EmployeeID { get; }
public int RequestID { get; }
2023-05-17 17:57:25 +04:00
Dictionary<int,(IComponentModel Component,int Quantity)> PCComponents { get; }
2023-04-05 18:59:50 +04:00
}
}