Quote models created

This commit is contained in:
2021-07-23 22:09:58 +00:00
parent cac7d4f47d
commit 83618d6559
9 changed files with 452 additions and 14 deletions

View File

@@ -72,8 +72,8 @@ namespace AyaNova.Models
public decimal? Latitude { get; set; }
public decimal? Longitude { get; set; }
public List<WorkOrderItem> Items { get; set; } = new List<WorkOrderItem>();
public List<WorkOrderState> States { get; set; } = new List<WorkOrderState>();
public List<QuoteItem> Items { get; set; } = new List<QuoteItem>();
public List<QuoteState> States { get; set; } = new List<QuoteState>();
//UTILITY FIELDS
@@ -107,7 +107,7 @@ namespace AyaNova.Models
public bool UserCanViewLoanerCosts { get; set; }
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.WorkOrder; }
public AyaType AyaType { get => AyaType.Quote; }
//workaround for notification
[NotMapped, JsonIgnore]