2024-05-01 04:42:57 +04:00
|
|
|
|
namespace ComputerShopDataModels.Models
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сборка
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IAssemblyModel : IId
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Название сборки
|
|
|
|
|
/// </summary>
|
|
|
|
|
string AssemblyName { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Стоимость
|
|
|
|
|
/// </summary>
|
|
|
|
|
double Cost { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-05-02 01:04:30 +04:00
|
|
|
|
/// Пользователь, создавший сборку
|
2024-05-01 04:42:57 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
int UserId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список комплектующих
|
|
|
|
|
/// </summary>
|
|
|
|
|
Dictionary<int, (IComponentModel, int)> AssemblyComponents { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|