Code-complete v2 vehicle API

This commit is contained in:
2020-07-26 21:52:36 -04:00
parent 48dc190027
commit f2ca3419b0
28 changed files with 1292 additions and 1001 deletions

View File

@@ -6,32 +6,29 @@ using System.Text;
namespace PartSource.Data.Models
{
public class VehicleData
public class Vehicle
{
public int? MakeId { get; set; }
public int MakeId { get; set; }
public string MakeName { get; set; }
public int? ModelId { get; set; }
public int ModelId { get; set; }
public string ModelName { get; set; }
public int? EngineConfigId { get; set; }
public int EngineConfigId { get; set; }
public string EngineDescription { get; set; }
public int? BaseVehicleId { get; set; }
public int BaseVehicleId { get; set; }
public int? Year { get; set; }
public int Year { get; set; }
public int? SubmodelId { get; set; }
public int SubmodelId { get; set; }
public string SubmodelName { get; set; }
[Key]
public int VehicleToEngineConfigId { get; set; }
[NotMapped]
public string Position { get; set; }
}
}