Initial commit
This commit is contained in:
26
PartSource.Data/Models/Submodel.cs
Normal file
26
PartSource.Data/Models/Submodel.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user