using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; 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 int MakeId { get; set; } [JsonIgnore] public int ModelId { get; set; } } }