This commit is contained in:
@@ -25,15 +25,25 @@ namespace AyaNova.Models
|
||||
public string Serial { get; set; }
|
||||
[Required]
|
||||
public long CustomerId { get; set; }
|
||||
[NotMapped]
|
||||
public string CustomerViz { get; set; }
|
||||
public long? ParentUnitId { get; set; }
|
||||
[NotMapped]
|
||||
public string ParentUnitViz { get; set; }
|
||||
public long? UnitModelId { get; set; }
|
||||
[NotMapped]
|
||||
public string UnitModelViz { get; set; }
|
||||
public bool UnitHasOwnAddress { get; set; }
|
||||
public bool BoughtHere { get; set; }
|
||||
public long? PurchasedFromVendorId { get; set; }
|
||||
[NotMapped]
|
||||
public string PurchasedFromVendorViz { get; set; }
|
||||
public string Receipt { get; set; }
|
||||
public DateTime? PurchasedDate { get; set; }
|
||||
public string Description { get; set; }
|
||||
public long? ReplacedByUnitId { get; set; }
|
||||
[NotMapped]
|
||||
public string ReplacedByUnitViz { get; set; }
|
||||
public bool OverrideModelWarranty { get; set; }
|
||||
public int? WarrantyLength { get; set; }
|
||||
public string WarrantyTerms { get; set; }
|
||||
@@ -45,7 +55,7 @@ namespace AyaNova.Models
|
||||
public string Text3 { get; set; }
|
||||
public string Text4 { get; set; }
|
||||
|
||||
//PHYSICAL ADDRESS
|
||||
//PHYSICAL ADDRESS
|
||||
public string Address { get; set; }
|
||||
public string City { get; set; }
|
||||
public string Region { get; set; }
|
||||
@@ -61,17 +71,17 @@ namespace AyaNova.Models
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.Unit; }
|
||||
|
||||
//convenience links
|
||||
[JsonIgnore]
|
||||
public Customer Customer { get; set; }
|
||||
[JsonIgnore]
|
||||
public UnitModel UnitModel { get; set; }
|
||||
// //convenience links
|
||||
// [JsonIgnore]
|
||||
// public Unit ParentUnit { get; set; }
|
||||
[JsonIgnore]
|
||||
public Vendor PurchasedFromVendor { get; set; }
|
||||
// public Customer Customer { get; set; }
|
||||
// [JsonIgnore]
|
||||
// public Unit ReplacedByUnit { get; set; }
|
||||
// public UnitModel UnitModel { get; set; }
|
||||
// // [JsonIgnore]
|
||||
// // public Unit ParentUnit { get; set; }
|
||||
// [JsonIgnore]
|
||||
// public Vendor PurchasedFromVendor { get; set; }
|
||||
// // [JsonIgnore]
|
||||
// // public Unit ReplacedByUnit { get; set; }
|
||||
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user