This commit is contained in:
2021-07-22 22:35:10 +00:00
parent 4f81bff862
commit 90b90957d9
2 changed files with 152 additions and 14 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
@@ -41,6 +40,97 @@ namespace AyaNova.Models
public List<PurchaseOrderItem> Items { get; set; } = new List<PurchaseOrderItem>();
//VIZ FIELDS
//POSTAL ADDRESS
[NotMapped]
public string DropShipToCustomerPostAddressViz { get; set; }
[NotMapped]
public string DropShipToCustomerPostCityViz { get; set; }
[NotMapped]
public string DropShipToCustomerPostRegionViz { get; set; }
[NotMapped]
public string DropShipToCustomerPostCountryViz { get; set; }
[NotMapped]
public string DropShipToCustomerPostCodeViz { get; set; }
//PHYSICAL ADDRESS
[NotMapped]
public string DropShipToCustomerAddressViz { get; set; }
[NotMapped]
public string DropShipToCustomerCityViz { get; set; }
[NotMapped]
public string DropShipToCustomerRegionViz { get; set; }
[NotMapped]
public string DropShipToCustomerCountryViz { get; set; }
[NotMapped]
public decimal? DropShipToCustomerLatitudeViz { get; set; }
[NotMapped]
public decimal? DropShipToCustomerLongitudeViz { get; set; }
[NotMapped]
public string DropShipToCustomerPhone1Viz { get; set; }
[NotMapped]
public string DropShipToCustomerPhone2Viz { get; set; }
[NotMapped]
public string DropShipToCustomerPhone3Viz { get; set; }
[NotMapped]
public string DropShipToCustomerPhone4Viz { get; set; }
[NotMapped]
public string DropShipToCustomerPhone5Viz { get; set; }
[NotMapped]
public string DropShipToCustomerEmailAddressViz { get; set; }
//POSTAL ADDRESS
[NotMapped]
public string VendorPostAddressViz { get; set; }
[NotMapped]
public string VendorPostCityViz { get; set; }
[NotMapped]
public string VendorPostRegionViz { get; set; }
[NotMapped]
public string VendorPostCountryViz { get; set; }
[NotMapped]
public string VendorPostCodeViz { get; set; }
//PHYSICAL ADDRESS
[NotMapped]
public string VendorAddressViz { get; set; }
[NotMapped]
public string VendorCityViz { get; set; }
[NotMapped]
public string VendorRegionViz { get; set; }
[NotMapped]
public string VendorCountryViz { get; set; }
[NotMapped]
public decimal? VendorLatitudeViz { get; set; }
[NotMapped]
public decimal? VendorLongitudeViz { get; set; }
[NotMapped]
public string VendorContactViz { get; set; }
[NotMapped]
public string VendorContactNotesViz { get; set; }
[NotMapped]
public string VendorPhone1Viz { get; set; }
[NotMapped]
public string VendorPhone2Viz { get; set; }
[NotMapped]
public string VendorPhone3Viz { get; set; }
[NotMapped]
public string VendorPhone4Viz { get; set; }
[NotMapped]
public string VendorPhone5Viz { get; set; }
[NotMapped]
public string VendorEmailAddressViz { get; set; }
//workaround for notification
[NotMapped, JsonIgnore]
public string Name { get; set; }