This commit is contained in:
@@ -76,9 +76,7 @@ namespace AyaNova.Models
|
||||
public List<WorkOrderState> States { get; set; } = new List<WorkOrderState>();
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsLockedAtServer { get; set; } = false;//signal to client that it came from the server in a locked state
|
||||
[NotMapped]
|
||||
|
||||
@@ -30,12 +30,7 @@ namespace AyaNova.Models
|
||||
public DateTime? RequestDate { get; set; }
|
||||
public bool WarrantyService { get; set; } = false;
|
||||
public int Sequence { get; set; }
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
//Principle
|
||||
[JsonIgnore]
|
||||
public WorkOrder WorkOrder { get; set; }
|
||||
|
||||
@@ -38,14 +38,6 @@ namespace AyaNova.Models
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -50,13 +50,6 @@ namespace AyaNova.Models
|
||||
public decimal LineTotalViz { get; set; }//line total netViz + taxes
|
||||
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -51,11 +51,7 @@ namespace AyaNova.Models
|
||||
public decimal LineTotalViz { get; set; }//line total netViz + taxes
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -49,11 +49,6 @@ namespace AyaNova.Models
|
||||
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -51,11 +51,7 @@ namespace AyaNova.Models
|
||||
[NotMapped]
|
||||
public decimal LineTotalViz { get; set; }//line total netViz + taxes
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -41,11 +41,6 @@ namespace AyaNova.Models
|
||||
public decimal Received { get; set; }
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -20,12 +20,7 @@ namespace AyaNova.Models
|
||||
[NotMapped]
|
||||
public string ServiceRateViz { get; set; }
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -26,11 +26,7 @@ namespace AyaNova.Models
|
||||
public string CompletedByUserViz { get; set; }
|
||||
public DateTime? CompletedDate { get; set; }
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -72,12 +72,6 @@ namespace AyaNova.Models
|
||||
public decimal LineTotalViz { get; set; }//line total netViz + taxes
|
||||
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -20,11 +20,6 @@ namespace AyaNova.Models
|
||||
[NotMapped]
|
||||
public string UnitViz { get; set; }
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
[Required]
|
||||
public long WorkOrderItemId { get; set; }
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -24,9 +24,7 @@ namespace AyaNova.Models
|
||||
public string UserViz { get; set; }
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
// public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
|
||||
//related
|
||||
[JsonIgnore]//internal only here at server not used by client
|
||||
public WorkOrderStatus WorkOrderStatus { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user