Compare commits

...

2 Commits

4 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.BindingModels
{
public class AdministratorBindingModel : IAdministratorModel
{
public int Id { get; set; }
public string AdministratorFIO { get; set; } = string.Empty;
public string AdministratorNumber { get; set; } = string.Empty;
public string AdministratorLogin { get; set; } = string.Empty;
public string AdministratorEmail { get; set; } = string.Empty;
public string AdministratorPassword { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.BindingModels
{
public class CarBindingModel : ICarModel
{
public int Id { get; set; }
public string BrandCar { get; set; } = string.Empty;
public string Model { get; set; } = string.Empty;
public int AdministratorId { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.BindingModels
{
public class EquipmentBindingModel : IEquipmentModel
{
public int Id { get; set; }
public string EquipmentName { get; set; } = string.Empty;
public double EquipmentPrice { get; set; }
public int AdministratorId { get; set; }
public int? PreSaleWorkId { get; set; }
public Dictionary<int, ICarModel> EquipmentCars { get; set; } = new();
}
}

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.BindingModels
{
public class InspectionBindingModel : IInspectionModel
{
public int Id { get; set; }
public string InspectionName { get; set; } = string.Empty;
public DateTime? InspectionDate { get; set; }
public int AdministratorId { get; set; }
public int? EmployeeId { get; set; }
public Dictionary<int, ICarModel> InspectionCars { get; set; } = new();
}
}