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

@@ -7,20 +7,20 @@ using System.Text;
namespace PartSource.Data.Models
{
[Table("Submodel", Schema = "Vehicle")]
public class Submodel
{
public int SubmodelId { get; set; }
public string Name { get; set; }
[JsonIgnore]
public int Year { get; set; }
[JsonIgnore]
public string Make { get; set; }
public int MakeId { get; set; }
[JsonIgnore]
public string Model { get; set; }
public int ModelId { get; set; }
}
}