Whatever this is
This commit is contained in:
17
PartSource.Data/Models/ProductType.cs
Normal file
17
PartSource.Data/Models/ProductType.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PartSource.Data.Models
|
||||
{
|
||||
public class ProductType
|
||||
{
|
||||
[Key]
|
||||
public string Name { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace PartSource.Data.Models
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PartSource.Data.Models
|
||||
{
|
||||
public class VehicleFitment
|
||||
{
|
||||
@@ -8,6 +10,7 @@
|
||||
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string NoteText { get; set; }
|
||||
|
||||
public int Year { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user