Compare commits
2 Commits
9a0d8d4e50
...
29d819d500
Author | SHA1 | Date | |
---|---|---|---|
29d819d500 | |||
e6aeacae24 |
@ -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;
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user