This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
@@ -30,6 +30,9 @@ namespace AyaNova.Models
|
||||
public long? PurchaseTaxCodeId { get; set; }
|
||||
public string VendorPartNumber { get; set; }
|
||||
|
||||
//mirror name fields to save a roundtrip to the UI, not persisted
|
||||
[NotMapped]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public PurchaseOrder PurchaseOrder { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user