Quote models created
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user