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
|
|
|
|
|
{
|
2023-04-05 19:02:12 +04:00
|
|
|
|
public interface IPCModel : IID
|
2023-04-05 18:59:50 +04:00
|
|
|
|
{
|
2023-04-09 03:17:58 +04:00
|
|
|
|
[MaxLength(255)]
|
2023-04-07 13:09:55 +04:00
|
|
|
|
public string Name { get; }
|
|
|
|
|
public double Price { get; }
|
2023-04-06 17:00:40 +04:00
|
|
|
|
public int EmployeeID { get; }
|
2023-04-05 21:23:13 +04:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|