This commit is contained in:
2021-02-18 21:02:46 +00:00
parent 5fef6f20c1
commit 88f260ebe0
2 changed files with 24 additions and 7 deletions

View File

@@ -30,14 +30,25 @@ 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; }
//mirror fields to save a roundtrip to the UI, not persisted
[NotMapped]
public string DisplayPartNumber { get; set; }
[NotMapped]
public string DisplayWarehouse { get; set; }
[NotMapped]
public string DisplayRequestUser { get; set; }
[NotMapped]
public string DisplayRequestWorkorder { get; set; }
[NotMapped]
public string DisplayTaxCode { get; set; }
}//eoc
}//eons