Compare commits
No commits in common. "ad2f84c91d240171d63a1a7630f07940e5a94bd0" and "bad11364773b58182afb8cc62c22d6012b6a4b66" have entirely different histories.
ad2f84c91d
...
bad1136477
@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="SearchModels\" />
|
||||
<Folder Include="ViewModels\" />
|
||||
<Folder Include="BusinessLogicsContracts\" />
|
||||
<Folder Include="StoragesContracts\" />
|
||||
</ItemGroup>
|
||||
|
@ -1,24 +0,0 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using CarCenterDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.ViewModels
|
||||
{
|
||||
public class BundlingViewModel : IBundlingModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[DisplayName("Пакет оборудования")]
|
||||
public EquipmentPackage EquipmentPackage { get; set; }
|
||||
[DisplayName("Пакет шин")]
|
||||
public TirePackage TirePackage { get; set; }
|
||||
[DisplayName("Пакет инструментов")]
|
||||
public ToolKit ToolKit { get; set; }
|
||||
[DisplayName("Цена")]
|
||||
public double Price { get; set; }
|
||||
}
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using CarCenterDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.ViewModels
|
||||
{
|
||||
public class CarViewModel : ICarModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[DisplayName("Марка")]
|
||||
public CarBrand CarBrand { get; set; }
|
||||
[DisplayName("Модель")]
|
||||
public string Model { get; set; } = string.Empty;
|
||||
[DisplayName("Класс")]
|
||||
public CarClass CarClass { get; set; }
|
||||
[DisplayName("Год выпуска")]
|
||||
public int Year { get; set; }
|
||||
[DisplayName("Цена")]
|
||||
public double Price { get; set; }
|
||||
[DisplayName("VIN-номер")]
|
||||
public long VINnumber { get; set; }
|
||||
public int FeatureID { get; set; }
|
||||
public Dictionary<int, IBundlingModel> CarBundlings { get; set; } = new();
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
using CarCenterDataModels.Enums;
|
||||
using CarCenterDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.ViewModels
|
||||
{
|
||||
public class FeatureViewModel : IFeatureModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[DisplayName("Вспомогательные устройства")]
|
||||
public HelpDevices HelpDevice { get; set; }
|
||||
[DisplayName("Цвет салона")]
|
||||
public string CabinColor { get; set; } = string.Empty;
|
||||
[DisplayName("Тип привода")]
|
||||
public DriveTypes DriveType { get; set; }
|
||||
[DisplayName("Цена")]
|
||||
public double Price { get; set; }
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
using CarCenterDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.ViewModels
|
||||
{
|
||||
public class StorekeeperViewModel : IStorekeeperModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[DisplayName("Имя")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
[DisplayName("Фамилия")]
|
||||
public string Surname { get; set; } = string.Empty;
|
||||
[DisplayName("Отчество")]
|
||||
public string? Patronymic { get; set; }
|
||||
[DisplayName("Пароль")]
|
||||
public string Password { get; set; } = string.Empty;
|
||||
[DisplayName("Почта")]
|
||||
public string Email { get; set; } = string.Empty;
|
||||
[DisplayName("Номер телефона")]
|
||||
public long PhoneNumber { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user