подредактировал контракты
This commit is contained in:
parent
12ba48c7d8
commit
fb3d9bef9a
@ -10,9 +10,10 @@ namespace CarCenterContracts.BindingModels
|
||||
public class CarSalesBindingModel : ICarSalesModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int AdministratorId { get; set; }
|
||||
public string CarBrand{ get; set; } = string.Empty;
|
||||
public string CarModel { get; set; } = string.Empty;
|
||||
public decimal CarCost { get; set; }
|
||||
public int AdministratorId { get; set; }
|
||||
public DateTime DateCreate { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ namespace CarCenterContracts.BindingModels
|
||||
public decimal InspectionCost { get; set; }
|
||||
public DateTime? InspectionDate { get; set; }
|
||||
public int AdministratorId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
public int? EmployeeId { get; set; }
|
||||
public Dictionary<int, ICarSalesModel> InspectionCars { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@ namespace CarCenterContracts.SearchModels
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? CarBrand { get; set; }
|
||||
public string? CarModel { get; set; }
|
||||
public decimal? CarCost { get; set; }
|
||||
public int? AdministratorId { get; set; }
|
||||
public DateTime? DateFrom { get; set; }
|
||||
public DateTime? DateTo { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,7 @@ namespace CarCenterContracts.SearchModels
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? СompletionName { get; set; }
|
||||
public string? СompletionFeatures { get; set; }
|
||||
public decimal? СompletionPrice { get; set; }
|
||||
public int? AdministratorId { get; set; }
|
||||
public int? CarSalesId { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -11,10 +11,9 @@ namespace CarCenterContracts.SearchModels
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? InspectionName { get; set; }
|
||||
public decimal? InspectionCost { get; set; }
|
||||
public DateTime? InspectionDate { get; set; }
|
||||
public int? AdministratorId { get; set; }
|
||||
public int? EmployeeId { get; set; }
|
||||
|
||||
public int? SalesId { get; set; }
|
||||
public int? CarSalesId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -21,5 +21,8 @@ namespace CarCenterContracts.ViewModels
|
||||
[DisplayName("Стоимость машины")]
|
||||
public decimal CarCost { get; set; }
|
||||
public int AdministratorId { get; set; }
|
||||
|
||||
[DisplayName("Дата создания")]
|
||||
public DateTime DateCreate { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -21,9 +21,9 @@ namespace CarCenterContracts.ViewModels
|
||||
[DisplayName("Дата осмотра")]
|
||||
public DateTime? InspectionDate { get; set; } = DateTime.Now;
|
||||
public int AdministratorId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
public int? EmployeeId { get; set; }
|
||||
|
||||
public string EmployeeName { get; set; } = string.Empty;
|
||||
public string? EmployeeName { get; set; } = string.Empty;
|
||||
public Dictionary<int, ICarSalesModel> InspectionCars { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user